Commit | Line | Data |
---|---|---|
6dca1d21 JB |
1 | # Description: The Linux System V Init |
2 | # URL: ftp://ftp.cistron.nl/pub/people/miquels/sysvinit/ | |
3 | # Maintainer: CRUX System Team, core-ports at crux dot nu | |
b751b192 | 4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
6dca1d21 JB |
5 | # Depends on: |
6 | ||
7 | name=sysvinit | |
662320e7 VM |
8 | version=2.89 |
9 | release=1 | |
10 | source=(http://download.savannah.gnu.org/releases/$name/$name-$version.tar.bz2) | |
6dca1d21 JB |
11 | |
12 | build() { | |
662320e7 VM |
13 | cd $name-${version} |
14 | make CC="$CC" | |
15 | make ROOT=$PKG install | |
16 | ||
be5c2466 | 17 | # Provided by util-linux |
662320e7 VM |
18 | rm $PKG/usr/bin/{last,lastb,mesg,utmpdump,wall} |
19 | rm $PKG/usr/share/man/man1/{last,lastb,mesg,utmpdump,wall}.1 | |
be5c2466 VM |
20 | rmdir $PKG/usr/bin |
21 | ||
22 | # Provided by procps | |
23 | rm $PKG/bin/pidof | |
9583ded6 | 24 | rm $PKG/usr/share/man/man8/pidof.8 |
cd4c0243 | 25 | |
a0ec1e5a | 26 | install -d $PKG/var/log |
6dca1d21 JB |
27 | touch $PKG/var/log/wtmp |
28 | touch $PKG/var/log/btmp | |
29 | chmod 0600 $PKG/var/log/btmp | |
30 | } |