wok-6.x annotate autofs/receipt @ rev 20194

Up autofs (5.1.4), btrfs-progs (4.15), cifs-utils (6.7), davfs2 (1.5.4), dosfstools (4.1), e2fsprogs (1.43.9), f2fs-tools (1.10.0), moosefs (3.0.100), milfs-utils (2.2.7), owfs (3.2p1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 12 13:54:33 2018 +0100 (2018-02-12)
parents 11b5e93cb5f2
children cd7983242740
rev   line source
pascal@7287 1 # SliTaz package receipt.
pascal@7287 2
pascal@7287 3 PACKAGE="autofs"
pascal@20194 4 VERSION="5.1.4"
pascal@7287 5 CATEGORY="system-tools"
pascal@7287 6 SHORT_DESC="Linux automounter."
pascal@7287 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20194 8 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@15000 9 LICENSE="GPL2"
pascal@20194 10 WEB_SITE="https://www.kernel.org/pub/linux/daemons/autofs/v${VERSION%%.*}"
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 sed -i -e 's/-b --suffix=.orig//' -e 's/install -v/install/' */Makefile*
al@19275 22
al@19275 23 ./configure \
al@19275 24 --prefix=/usr \
al@19275 25 --infodir=/usr/share/info \
al@19275 26 --mandir=/usr/share/man \
al@19275 27 $CONFIGURE_ARGS &&
pascal@7287 28 make &&
pascal@14772 29 make DESTDIR=$DESTDIR install
pascal@7287 30 }
pascal@7287 31
pascal@7287 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@7287 33 genpkg_rules()
pascal@7287 34 {
pascal@7287 35 mkdir -p $fs/usr
claudinei@13581 36 mkdir -p $fs/etc/init.d
pascal@14772 37 cp -a $install/usr/sbin $fs/usr
pascal@14772 38 cp -a $install/usr/lib $fs/usr
claudinei@13581 39 cp -a $stuff/etc/* $fs/etc
pascal@7287 40 }
pascal@7323 41
pascal@7323 42 # Pre and post install commands for Tazpkg.
pascal@7323 43 post_install()
pascal@7323 44 {
al@18667 45 mkdir -p "$1/mnt/auto" 2>/dev/null
pascal@7323 46 }