core/sysvinit/Pkgfile

25 lines
620 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: The Linux System V Init
# URL: https://savannah.nongnu.org/projects/sysvinit/
# Maintainer: CRUX System Team, core-ports at crux dot nu
2006-02-23 16:26:10 +01:00
name=sysvinit
version=2.88
release=2
source=(http://download.savannah.gnu.org/releases/$name/$name-${version}dsf.tar.bz2)
2006-02-23 16:26:10 +01:00
build() {
cd $name-${version}dsf
make
make ROOT=$PKG MANDIR=/usr/man install
# Provided by util-linux
rm $PKG/{bin/mountpoint,usr/bin/utmpdump}
rm $PKG/usr/man/man1/{mountpoint,utmpdump}.1
install -d $PKG/var/log
2006-02-23 16:26:10 +01:00
touch $PKG/var/log/wtmp
touch $PKG/var/log/btmp
chmod 0600 $PKG/var/log/btmp
}