wok-next view autofs/receipt @ rev 21723

busybox: update patches
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:44:52 2020 +0000 (2020-09-01)
parents 0ed3f456a542
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="autofs"
4 VERSION="5.1.6"
5 CATEGORY="system-tools"
6 SHORT_DESC="Linux automounter"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://mirrors.edge.kernel.org/pub/linux/daemons/autofs/v5/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/autofs.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$WEB_SITE/$TARBALL"
15 BUILD_DEPENDS="coreutils-operations cyrus-sasl-dev flex krb5-dev libtirpc-dev
16 libxml2-dev openldap-dev openssl-dev rpcsvc-proto"
17 DEPENDS="libkrb5 libldap libsasl libtirpc libxml2 linux-autofs"
19 TAZPANEL_DAEMON="man|help::automount|edit::/etc/auto.misc|options::AUTOMOUNT_OPTIONS|web::$WEB_SITE"
20 TAGS="filesystem"
22 compile_rules()
23 {
24 ./configure \
25 --with-libtirpc \
26 $CONFIGURE_ARGS &&
27 make autofsconfdir=/etc &&
28 make autofsconfdir=/etc DESTDIR=$install install || return 1
30 install -Dm755 $stuff/etc/init.d/autofs $install/etc/init.d/autofs
31 install -Dm644 $stuff/etc/auto.master $install/etc/auto.master
32 install -Dm644 $stuff/etc/auto.misc $install/etc/auto.misc
34 rm $install/usr/lib/autofs/lookup_nis.so # broken link
35 }
37 post_install()
38 {
39 mkdir -p "$1/mnt/auto" 2>/dev/null
40 }