wok-next view autofs/receipt @ rev 21038
Small updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Nov 08 15:34:32 2018 +0200 (2018-11-08) |
parents | d5aab818505e |
children | 0ed3f456a542 |
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"
18 compile_rules() {
19 ./configure \
20 --with-libtirpc \
21 $CONFIGURE_ARGS &&
22 make autofsconfdir=/etc &&
23 make autofsconfdir=/etc DESTDIR=$install 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 }