wok-4.x annotate pam_mount/receipt @ rev 10034

glibc: be compatible with current stable kernel
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 20 03:21:36 2011 +0200 (2011-05-20)
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 }