void-packages/srcpkgs/sysvinit/template

32 lines
960 B
Plaintext

# Template file for 'sysvinit'
pkgname=sysvinit
version=2.88
revision=2
wrksrc="${pkgname}-${version}dsf"
distfiles="http://download.savannah.gnu.org/releases/$pkgname/${pkgname}-${version}dsf.tar.bz2"
build_style=gnu_makefile
make_install_args="ROOT=${XBPS_DESTDIR}/${pkgname}-${version}"
short_desc="Linux System V Init"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=60bbc8c1e1792056e23761d22960b30bb13eccc2cabff8c7310a01f4d5df1519
long_desc="
System V style init programs for booting a GNU/Linux system."
Add_dependency run glibc
Add_dependency full shadow
Add_dependency full util-linux
Add_dependency full coreutils
Add_dependency full gawk
post_install()
{
# Remove unneeded stuff
rm -rf ${DESTDIR}/usr/include
# wall(1) comes from util-linux.
rm -f ${DESTDIR}/usr/bin/wall
rm -f ${DESTDIR}/usr/share/man/man1/wall.1
# mountpoint(1) comes from util-linux.
rm -f ${DESTDIR}/bin/mountpoint
rm -f ${DESTDIR}/usr/share/man/man1/mountpoint.1
}