core/sysvinit/Pkgfile

35 lines
802 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: The Linux System V Init
2021-09-25 09:02:31 +02:00
# 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
2022-12-17 15:25:08 +01:00
version=3.06
release=1
2022-08-22 10:37:40 +02:00
source=(https://github.com/slicer69/sysvinit/releases/download/$version/$name-$version.tar.xz)
2006-02-23 16:26:10 +01:00
build() {
2021-09-25 09:02:31 +02:00
cd $name-$version
2022-08-22 10:37:40 +02:00
find man -type d -name '??' -exec rm -r {} +
2021-09-25 09:02:31 +02:00
make
make ROOT=$PKG install
2021-09-25 09:02:31 +02: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
2021-09-25 09:02:31 +02:00
# Provided by procps
rm $PKG/bin/pidof
rm $PKG/usr/share/man/man8/pidof.8
2021-09-25 09:02:31 +02:00
# Provided by e2fsprogs
rm $PKG/sbin/logsave
rm $PKG/usr/share/man/man8/logsave.8
2019-02-27 11:34:53 +01:00
2021-09-25 09:02:31 +02:00
install -d $PKG/var/log
touch $PKG/var/log/wtmp
touch $PKG/var/log/btmp
chmod 0600 $PKG/var/log/btmp
2006-02-23 16:26:10 +01:00
}