2015-01-11 12:33:32 +01:00
|
|
|
# Template file for 'autofs'
|
|
|
|
pkgname=autofs
|
2015-04-22 07:46:52 +02:00
|
|
|
version=5.1.1
|
2015-06-02 19:33:45 +02:00
|
|
|
revision=3
|
2015-01-11 12:33:32 +01:00
|
|
|
build_style=gnu-configure
|
|
|
|
conf_files="
|
|
|
|
/etc/autofs/auto.master
|
|
|
|
/etc/autofs/auto.misc
|
|
|
|
/etc/autofs/autofs.conf
|
2015-01-11 12:46:03 +01:00
|
|
|
/etc/autofs/autofs_ldap_auth.conf"
|
2015-06-02 19:33:45 +02:00
|
|
|
configure_args="--with-libtirpc --with-mapdir=/etc/autofs --sbindir=/usr/bin"
|
2015-01-11 12:33:32 +01:00
|
|
|
hostmakedepends="flex kmod"
|
|
|
|
makedepends="libtirpc-devel"
|
|
|
|
short_desc="A kernel-based automounter for Linux"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2015-01-11 12:33:32 +01:00
|
|
|
license="GPL-2"
|
2015-01-11 12:43:23 +01:00
|
|
|
homepage="${KERNEL_SITE}/daemons/autofs"
|
2015-01-11 12:33:32 +01:00
|
|
|
distfiles="${KERNEL_SITE}/daemons/autofs/v5/autofs-${version}.tar.xz"
|
2015-04-22 07:46:52 +02:00
|
|
|
checksum=e08ff0ef9ff365d87b6c33dca136d20e4e07675197a324f2816894cb437021c3
|
2015-01-11 12:33:32 +01:00
|
|
|
|
2015-05-28 16:28:06 +02:00
|
|
|
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/gssglue"
|
|
|
|
|
2015-01-11 12:40:15 +01:00
|
|
|
pre_build() {
|
|
|
|
sed -i "s,/usr/include/tirpc,${XBPS_CROSS_BASE}/usr/include/tirpc,g" Makefile.rules
|
|
|
|
}
|
2015-01-11 12:33:32 +01:00
|
|
|
post_install() {
|
|
|
|
vsv $pkgname
|
2015-01-11 12:46:03 +01:00
|
|
|
# Remove unused stuff
|
|
|
|
rm ${DESTDIR}/usr/share/man/man5/autofs.5
|
2015-01-11 12:48:10 +01:00
|
|
|
rm -r ${DESTDIR}/etc/default
|
2015-01-11 12:33:32 +01:00
|
|
|
}
|