core/sysvinit/Pkgfile

33 lines
796 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
2021-02-24 12:10:39 +01:00
version=2.99
release=1
2018-06-19 23:22:04 +02:00
source=(http://download.savannah.gnu.org/releases/$name/$name-$version.tar.xz)
2006-02-23 16:26:10 +01:00
build() {
cd $name-$version
make
make ROOT=$PKG install
2018-12-03 23:15:28 +01:00
# Provided by util-linux
rm $PKG/usr/bin/{last,lastb,mesg,utmpdump,wall}
rm $PKG/usr/share/man/man1/{last,lastb,mesg,utmpdump,wall}.1
# Provided by procps
rm $PKG/bin/pidof
rm $PKG/usr/share/man/man8/pidof.8
2019-02-27 11:34:53 +01:00
# Provided by e2fsprogs
rm $PKG/sbin/logsave
rm $PKG/usr/share/man/man8/logsave.8
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
}