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