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
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.88
9 release=3
10 source=(http://download.savannah.gnu.org/releases/$name/$name-${version}dsf.tar.bz2)
11
12 build() {
13 cd $name-${version}dsf
14 make -C src CC="$CC"
15 make -C src ROOT=$PKG MANDIR=/usr/man install
16
17 # Provided by util-linux
18 rm $PKG/{bin/mountpoint,usr/bin/utmpdump}
19 rm $PKG/usr/man/man1/{mountpoint,utmpdump}.1
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
27
28 install -d $PKG/var/log
29 touch $PKG/var/log/wtmp
30 touch $PKG/var/log/btmp
31 chmod 0600 $PKG/var/log/btmp
32 }