autofs: do not strip bins, repair cross compilation.

This commit is contained in:
Juan RP 2015-01-11 12:40:15 +01:00
parent 61bbba0eac
commit 2ee485b0c8
1 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'autofs'
pkgname=autofs
version=5.1.0
revision=1
revision=2
build_style=gnu-configure
conf_files="
/etc/autofs/auto.master
@ -10,6 +10,7 @@ conf_files="
/etc/autofs/autofs_ldap_auth.conf
/etc/default/autofs"
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"
@ -19,6 +20,9 @@ homepage="http://www.gnu.org/software/sed"
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
}