wok-6.x annotate pam_mount/receipt @ rev 8120

linux: make sure the real tar is installed.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Jan 23 21:51:05 2011 +0000 (2011-01-23)
parents 8e44b7502050
children 50df99a5f244
rev   line source
pascal@2443 1 # SliTaz package receipt.
pascal@2443 2
pascal@2443 3 PACKAGE="pam_mount"
pascal@2443 4 VERSION="1.20"
pascal@2443 5 CATEGORY="system-tools"
pascal@2443 6 SHORT_DESC="PAM Module that can mount volumes for a user session."
pascal@2443 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@2443 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@2559 9 WEB_SITE="http://pam-mount.sourceforge.net/"
pascal@2443 10 WGET_URL="$SF_MIRROR/pam-mount/$TARBALL"
pascal@2443 11 BUILD_DEPENDS="pam-dev libhx libhx-dev"
pascal@2443 12 DEPENDS="pam libcrypto libxml2 libhx zlib"
pascal@2443 13
pascal@2443 14 # Rules to configure and make the package.
pascal@2443 15 compile_rules()
pascal@2443 16 {
pascal@2443 17 cd $src
pascal@2443 18 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@2443 19 --sysconfdir=/etc --localstatedir=/var \
pascal@2443 20 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@2443 21 make &&
pascal@2443 22 make DESTDIR=$PWD/_pkg install
pascal@2443 23 }
pascal@2443 24
pascal@2443 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2443 26 genpkg_rules()
pascal@2443 27 {
pankso@3491 28 mkdir -p $fs/usr
pascal@2443 29 cp -a $_pkg/usr/sbin $fs/usr
pascal@2443 30 cp -a $_pkg/usr/bin $fs/usr
pascal@2443 31 cp -a $_pkg/sbin $fs
pascal@2443 32 cp -a $_pkg/etc $fs
pascal@2443 33 cp -a $_pkg/lib $fs
pascal@2443 34 cp -a $_pkg/var $fs
pascal@2443 35 }