wok-6.x annotate autofs/receipt @ rev 18978
Up tazlito(418)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Mar 14 14:14:36 2016 +0200 (2016-03-14) |
parents | 380ffe05937a |
children | 7f39549720b8 |
rev | line source |
---|---|
pascal@7287 | 1 # SliTaz package receipt. |
pascal@7287 | 2 |
pascal@7287 | 3 PACKAGE="autofs" |
pascal@7287 | 4 VERSION="5.0.5" |
pascal@7287 | 5 CATEGORY="system-tools" |
pascal@7287 | 6 SHORT_DESC="Linux automounter." |
pascal@7287 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@7287 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@15000 | 9 LICENSE="GPL2" |
pascal@7287 | 10 WEB_SITE="http://www.kernel.org/pub/linux/daemons/autofs/v5" |
pascal@7287 | 11 WGET_URL="$WEB_SITE/$TARBALL" |
pascal@14772 | 12 TAZPANEL_DAEMON="man|help::automount|edit::/etc/auto.misc|options::AUTOMOUNT_OPTIONS|web::$WEB_SITE" |
pascal@14772 | 13 TAGS="filesystem" |
pascal@14772 | 14 |
pascal@7323 | 15 DEPENDS="linux-autofs" |
pascal@15000 | 16 BUILD_DEPENDS="flex libxml2-dev openldap-dev cyrus-sasl-dev openssl-dev krb5-dev" |
pascal@7287 | 17 |
pascal@7287 | 18 # Rules to configure and make the package. |
pascal@7287 | 19 compile_rules() |
pascal@7287 | 20 { |
pascal@7287 | 21 cd $src |
pascal@7287 | 22 sed -i -e 's/-b --suffix=.orig//' -e 's/install -v/install/' */Makefile* |
pascal@7287 | 23 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@7287 | 24 --mandir=/usr/share/man \ |
pascal@7287 | 25 $CONFIGURE_ARGS && |
pascal@7287 | 26 make && |
pascal@14772 | 27 make DESTDIR=$DESTDIR install |
pascal@7287 | 28 } |
pascal@7287 | 29 |
pascal@7287 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@7287 | 31 genpkg_rules() |
pascal@7287 | 32 { |
pascal@7287 | 33 mkdir -p $fs/usr |
claudinei@13581 | 34 mkdir -p $fs/etc/init.d |
pascal@14772 | 35 cp -a $install/usr/sbin $fs/usr |
pascal@14772 | 36 cp -a $install/usr/lib $fs/usr |
claudinei@13581 | 37 cp -a $stuff/etc/* $fs/etc |
pascal@7287 | 38 } |
pascal@7323 | 39 |
pascal@7323 | 40 # Pre and post install commands for Tazpkg. |
pascal@7323 | 41 post_install() |
pascal@7323 | 42 { |
al@18667 | 43 mkdir -p "$1/mnt/auto" 2>/dev/null |
pascal@7323 | 44 } |