wok-next annotate autofs/receipt @ rev 21111
gdbm: split to "libpkg - pkg - pkg-dev"; fix some symlinks
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jan 11 14:45:46 2019 +0200 (2019-01-11) |
parents | 21ab7a6eb192 |
children | e4f77a16fe27 |
rev | line source |
---|---|
al@20612 | 1 # SliTaz package receipt v2. |
pascal@7287 | 2 |
pascal@7287 | 3 PACKAGE="autofs" |
al@21038 | 4 VERSION="5.1.5" |
pascal@7287 | 5 CATEGORY="system-tools" |
al@20612 | 6 SHORT_DESC="Linux automounter" |
pascal@7287 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
al@20612 | 8 LICENSE="GPL2" |
al@21020 | 9 WEB_SITE="https://mirrors.edge.kernel.org/pub/linux/daemons/autofs/v5/" |
al@21017 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/autofs.html" |
al@20612 | 11 |
pascal@20315 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@7287 | 13 WGET_URL="$WEB_SITE/$TARBALL" |
pascal@14772 | 14 |
al@20612 | 15 BUILD_DEPENDS="flex libxml2-dev openldap-dev cyrus-sasl-dev openssl-dev \ |
al@20612 | 16 krb5-dev rpcsvc-proto libtirpc-dev coreutils-operations" |
al@21111 | 17 DEPENDS="libkrb5 libldap libsasl libtirpc libxml2 linux-autofs" |
al@21111 | 18 |
al@21111 | 19 TAZPANEL_DAEMON="man|help::automount|edit::/etc/auto.misc|options::AUTOMOUNT_OPTIONS|web::$WEB_SITE" |
al@21111 | 20 TAGS="filesystem" |
pascal@7287 | 21 |
al@20612 | 22 compile_rules() { |
al@20612 | 23 ./configure \ |
al@20612 | 24 --with-libtirpc \ |
al@20612 | 25 $CONFIGURE_ARGS && |
al@20612 | 26 make autofsconfdir=/etc && |
al@21020 | 27 make autofsconfdir=/etc DESTDIR=$install install || return 1 |
al@19275 | 28 |
al@20612 | 29 install -Dm755 $stuff/etc/init.d/autofs $install/etc/init.d/autofs |
al@20612 | 30 install -Dm644 $stuff/etc/auto.master $install/etc/auto.master |
al@20612 | 31 install -Dm644 $stuff/etc/auto.misc $install/etc/auto.misc |
pascal@7287 | 32 |
al@21111 | 33 rm $install/usr/lib/autofs/lookup_nis.so # broken link |
pascal@7287 | 34 } |
pascal@7323 | 35 |
al@20612 | 36 post_install() { |
al@18667 | 37 mkdir -p "$1/mnt/auto" 2>/dev/null |
pascal@7323 | 38 } |