wok-next view autofs/receipt @ rev 20838

prosody: does not find lua5.1
author Erkan Yilmaz <erkan@slitaz.org>
date Sun Jun 17 20:22:11 2018 +0000 (2018-06-17)
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 }