wok-next annotate autofs/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | f48456621a9d |
children | 21ab7a6eb192 |
rev | line source |
---|---|
al@20612 | 1 # SliTaz package receipt v2. |
pascal@7287 | 2 |
pascal@7287 | 3 PACKAGE="autofs" |
al@20612 | 4 VERSION="5.1.4" |
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" |
pascal@7287 | 17 |
al@20612 | 18 compile_rules() { |
al@20612 | 19 ./configure \ |
al@20612 | 20 --with-libtirpc \ |
al@20612 | 21 $CONFIGURE_ARGS && |
al@20612 | 22 make autofsconfdir=/etc && |
al@21020 | 23 make autofsconfdir=/etc DESTDIR=$install install || return 1 |
al@19275 | 24 |
al@20612 | 25 install -Dm755 $stuff/etc/init.d/autofs $install/etc/init.d/autofs |
al@20612 | 26 install -Dm644 $stuff/etc/auto.master $install/etc/auto.master |
al@20612 | 27 install -Dm644 $stuff/etc/auto.misc $install/etc/auto.misc |
pascal@7287 | 28 } |
pascal@7287 | 29 |
al@20612 | 30 genpkg_rules() { |
al@20612 | 31 copy @std |
al@20612 | 32 rm $fs/usr/lib/autofs/lookup_nis.so # broken link |
al@20612 | 33 DEPENDS="libkrb5 libldap libsasl libtirpc libxml2 linux-autofs" |
al@20612 | 34 TAZPANEL_DAEMON="man|help::automount|edit::/etc/auto.misc|options::AUTOMOUNT_OPTIONS|web::$WEB_SITE" |
al@20612 | 35 TAGS="filesystem" |
pascal@7287 | 36 } |
pascal@7323 | 37 |
al@20612 | 38 post_install() { |
al@18667 | 39 mkdir -p "$1/mnt/auto" 2>/dev/null |
pascal@7323 | 40 } |