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

Add perl-pcsc (Perl Module for PC/SC SmartCard access)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Nov 21 20:45:30 2012 +0000 (2012-11-21)
parents 681609d4339d
children e9130cce9043
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@10702 9 BUILD_DEPENDS="flex libxml2-dev openldap-dev cyrus-sasl-dev openssl-dev krb5-dev"
pascal@7287 10 WEB_SITE="http://www.kernel.org/pub/linux/daemons/autofs/v5"
pascal@7287 11 WGET_URL="$WEB_SITE/$TARBALL"
pascal@7323 12 DEPENDS="linux-autofs"
pascal@7287 13 TAGS="filesystem"
pascal@7287 14
pascal@7287 15 # Rules to configure and make the package.
pascal@7287 16 compile_rules()
pascal@7287 17 {
pascal@7287 18 cd $src
pascal@7287 19 sed -i -e 's/-b --suffix=.orig//' -e 's/install -v/install/' */Makefile*
pascal@7287 20 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@7287 21 --mandir=/usr/share/man \
pascal@7287 22 $CONFIGURE_ARGS &&
pascal@7287 23 make &&
pascal@7287 24 make DESTDIR=$PWD/_pkg install
pascal@7287 25 }
pascal@7287 26
pascal@7287 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@7287 28 genpkg_rules()
pascal@7287 29 {
pascal@7287 30 mkdir -p $fs/usr
claudinei@13581 31 mkdir -p $fs/etc/init.d
pascal@7287 32 cp -a $_pkg/usr/sbin $fs/usr
pascal@7287 33 cp -a $_pkg/usr/lib $fs/usr
claudinei@13581 34 cp -a $stuff/etc/* $fs/etc
pascal@7287 35 }
pascal@7323 36
pascal@7323 37 # Pre and post install commands for Tazpkg.
pascal@7323 38 post_install()
pascal@7323 39 {
pascal@7323 40 mkdir -p $1/mnt/auto 2> /dev/null
pascal@7323 41 }