wok-next view autofs/receipt @ rev 20612
Up autofs (5.1.4), c-ares, curl (7.58.0)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Apr 19 23:07:29 2018 +0300 (2018-04-19) |
parents | c7a7d8278ff3 |
children | f48456621a9d |
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/stable/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 }