wok-next view autofs/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents b96375904f8e
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="autofs"
4 VERSION="5.1.4"
5 CATEGORY="system-tools"
6 SHORT_DESC="Linux automounter"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.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"
18 compile_rules() {
19 ./configure \
20 --with-libtirpc \
21 $CONFIGURE_ARGS &&
22 make autofsconfdir=/etc &&
23 make autofsconfdir=/etc DESTDIR=$DESTDIR install || return 1
25 install -Dm755 $stuff/etc/init.d/autofs $install/etc/init.d/autofs
26 install -Dm644 $stuff/etc/auto.master $install/etc/auto.master
27 install -Dm644 $stuff/etc/auto.misc $install/etc/auto.misc
28 }
30 genpkg_rules() {
31 copy @std
32 rm $fs/usr/lib/autofs/lookup_nis.so # broken link
33 DEPENDS="libkrb5 libldap libsasl libtirpc libxml2 linux-autofs"
34 TAZPANEL_DAEMON="man|help::automount|edit::/etc/auto.misc|options::AUTOMOUNT_OPTIONS|web::$WEB_SITE"
35 TAGS="filesystem"
36 }
38 post_install() {
39 mkdir -p "$1/mnt/auto" 2>/dev/null
40 }