CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
sysvinit: updated to 2.89
[crossrootfs.git] / sysvinit / Pkgfile
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
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
5 # Depends on:
6
7 name=sysvinit
8 version=2.89
9 release=1
10 source=(http://download.savannah.gnu.org/releases/$name/$name-$version.tar.bz2)
11
12 build() {
13 cd $name-$version
14 make CC="$CC"
15 make ROOT=$PKG install
16
17 # Provided by util-linux
18 rm $PKG/usr/bin/{last,lastb,mesg,utmpdump,wall}
19 rm $PKG/usr/share/man/man1/{last,lastb,mesg,utmpdump,wall}.1
20 rmdir $PKG/usr/bin
21
22 # Provided by procps
23 rm $PKG/bin/pidof
24 rm $PKG/usr/share/man/man8/pidof.8
25
26 install -d $PKG/var/log
27 touch $PKG/var/log/wtmp
28 touch $PKG/var/log/btmp
29 chmod 0600 $PKG/var/log/btmp
30 }