wok-next annotate autofs/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | 0ed3f456a542 |
children |
rev | line source |
---|---|
al@20612 | 1 # SliTaz package receipt v2. |
pascal@7287 | 2 |
pascal@7287 | 3 PACKAGE="autofs" |
Hans-G?nter@21508 | 4 VERSION="5.1.6" |
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 |
Hans-G?nter@21508 | 15 BUILD_DEPENDS="coreutils-operations cyrus-sasl-dev flex krb5-dev libtirpc-dev |
Hans-G?nter@21508 | 16 libxml2-dev openldap-dev openssl-dev rpcsvc-proto" |
Hans-G?nter@21508 | 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 |
Hans-G?nter@21508 | 22 compile_rules() |
Hans-G?nter@21508 | 23 { |
Hans-G?nter@21508 | 24 ./configure \ |
Hans-G?nter@21508 | 25 --with-libtirpc \ |
al@20612 | 26 $CONFIGURE_ARGS && |
al@20612 | 27 make autofsconfdir=/etc && |
al@21020 | 28 make autofsconfdir=/etc DESTDIR=$install install || return 1 |
al@19275 | 29 |
al@20612 | 30 install -Dm755 $stuff/etc/init.d/autofs $install/etc/init.d/autofs |
al@20612 | 31 install -Dm644 $stuff/etc/auto.master $install/etc/auto.master |
al@20612 | 32 install -Dm644 $stuff/etc/auto.misc $install/etc/auto.misc |
pascal@7287 | 33 |
al@21111 | 34 rm $install/usr/lib/autofs/lookup_nis.so # broken link |
pascal@7287 | 35 } |
pascal@7323 | 36 |
Hans-G?nter@21508 | 37 post_install() |
Hans-G?nter@21508 | 38 { |
al@18667 | 39 mkdir -p "$1/mnt/auto" 2>/dev/null |
pascal@7323 | 40 } |