void-packages/srcpkgs/autofs/template

31 lines
885 B
Bash

# Template file for 'autofs'
pkgname=autofs
version=5.1.0
revision=4
build_style=gnu-configure
conf_files="
/etc/autofs/auto.master
/etc/autofs/auto.misc
/etc/autofs/autofs.conf
/etc/autofs/autofs_ldap_auth.conf"
configure_args="--with-libtirpc --with-mapdir=/etc/autofs"
make_build_args="STRIP=:"
hostmakedepends="flex kmod"
makedepends="libtirpc-devel"
short_desc="A kernel-based automounter for Linux"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="${KERNEL_SITE}/daemons/autofs"
distfiles="${KERNEL_SITE}/daemons/autofs/v5/autofs-${version}.tar.xz"
checksum=f4b343797e6df03627a9fd41bda6fd85acb84aa3fdd15694eec03ec90a52bc27
pre_build() {
sed -i "s,/usr/include/tirpc,${XBPS_CROSS_BASE}/usr/include/tirpc,g" Makefile.rules
}
post_install() {
vsv $pkgname
# Remove unused stuff
rm ${DESTDIR}/usr/share/man/man5/autofs.5
rm -r ${DESTDIR}/etc/default
}