CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
e2fsprogs: updated to 1.42.13 and updated mandir
[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
a0ec1e5a 8version=2.88
be5c2466 9release=3
a0ec1e5a 10source=(http://download.savannah.gnu.org/releases/$name/$name-${version}dsf.tar.bz2)
6dca1d21
JB
11
12build() {
a0ec1e5a 13 cd $name-${version}dsf
6dca1d21 14 make -C src CC="$CC"
a0ec1e5a 15 make -C src ROOT=$PKG MANDIR=/usr/man install
be5c2466
VM
16
17 # Provided by util-linux
cd4c0243
VM
18 rm $PKG/{bin/mountpoint,usr/bin/utmpdump}
19 rm $PKG/usr/man/man1/{mountpoint,utmpdump}.1
be5c2466
VM
20 rm $PKG/usr/bin/{last,lastb,mesg,wall}
21 rm $PKG/usr/man/man1/{last,lastb,mesg,wall}.1
22 rmdir $PKG/usr/bin
23
24 # Provided by procps
25 rm $PKG/bin/pidof
26 rm $PKG/usr/man/man8/pidof.8
cd4c0243 27
a0ec1e5a 28 install -d $PKG/var/log
6dca1d21
JB
29 touch $PKG/var/log/wtmp
30 touch $PKG/var/log/btmp
31 chmod 0600 $PKG/var/log/btmp
32}