CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
sysvinit: updated to 2.89
[crossrootfs.git] / sysvinit / Pkgfile
CommitLineData
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
7name=sysvinit
e96971a3
VM
8version=2.89
9release=1
10source=(http://download.savannah.gnu.org/releases/$name/$name-$version.tar.bz2)
6dca1d21
JB
11
12build() {
e96971a3
VM
13 cd $name-$version
14 make CC="$CC"
15 make ROOT=$PKG install
16
be5c2466 17 # Provided by util-linux
e96971a3
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
e96971a3 29 chmod 0600 $PKG/var/log/btmp
6dca1d21 30}