wok-next annotate pam_mount/receipt @ rev 15021
Add some licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 11 18:44:25 2013 +0000 (2013-08-11) |
parents | 30b71c3827a2 |
children | bbad6c384bed |
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@15021 | 8 LICENSE="GPL2 LGPL" |
pascal@2443 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@2559 | 10 WEB_SITE="http://pam-mount.sourceforge.net/" |
pascal@2443 | 11 WGET_URL="$SF_MIRROR/pam-mount/$TARBALL" |
pascal@15021 | 12 |
pascal@12426 | 13 BUILD_DEPENDS="pam-dev libhx libhx-dev libcrypto-dev openssl-dev libxml2-dev" |
pascal@2443 | 14 DEPENDS="pam libcrypto libxml2 libhx zlib" |
pascal@2443 | 15 |
pascal@2443 | 16 # Rules to configure and make the package. |
pascal@2443 | 17 compile_rules() |
pascal@2443 | 18 { |
pascal@2443 | 19 cd $src |
pascal@2443 | 20 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@2443 | 21 --sysconfdir=/etc --localstatedir=/var \ |
pascal@2443 | 22 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@2443 | 23 make && |
pascal@10556 | 24 make DESTDIR=$DESTDIR install |
pascal@2443 | 25 } |
pascal@2443 | 26 |
pascal@2443 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2443 | 28 genpkg_rules() |
pascal@2443 | 29 { |
pankso@3491 | 30 mkdir -p $fs/usr |
pascal@15021 | 31 cp -a $install/usr/sbin $fs/usr |
pascal@15021 | 32 cp -a $install/usr/bin $fs/usr |
pascal@15021 | 33 cp -a $install/sbin $fs |
pascal@15021 | 34 cp -a $install/etc $fs |
pascal@15021 | 35 cp -a $install/lib $fs |
pascal@15021 | 36 cp -a $install/var $fs |
pascal@2443 | 37 } |