CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
time: updated source
[crossrootfs.git] / sysvinit / Pkgfile
... / ...
CommitLineData
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
7name=sysvinit
8version=2.89
9release=1
10source=(http://download.savannah.gnu.org/releases/$name/$name-$version.tar.bz2)
11
12build() {
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}