wok-next view autofs/receipt @ rev 21153

Small updates.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jan 31 16:45:41 2019 +0200 (2019-01-31)
parents 21ab7a6eb192
children e4f77a16fe27
line source
1 # SliTaz package receipt v2.
3 PACKAGE="autofs"
4 VERSION="5.1.5"
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="flex libxml2-dev openldap-dev cyrus-sasl-dev openssl-dev \
16 krb5-dev rpcsvc-proto libtirpc-dev coreutils-operations"
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 ./configure \
24 --with-libtirpc \
25 $CONFIGURE_ARGS &&
26 make autofsconfdir=/etc &&
27 make autofsconfdir=/etc DESTDIR=$install install || return 1
29 install -Dm755 $stuff/etc/init.d/autofs $install/etc/init.d/autofs
30 install -Dm644 $stuff/etc/auto.master $install/etc/auto.master
31 install -Dm644 $stuff/etc/auto.misc $install/etc/auto.misc
33 rm $install/usr/lib/autofs/lookup_nis.so # broken link
34 }
36 post_install() {
37 mkdir -p "$1/mnt/auto" 2>/dev/null
38 }