wok annotate pam_mount/receipt @ rev 21115

libaio: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 19 18:51:13 2019 +0100 (2019-03-19)
parents 10e6c72b2c15
children 080c1dff8494
rev   line source
pascal@2443 1 # SliTaz package receipt.
pascal@2443 2
pascal@2443 3 PACKAGE="pam_mount"
pascal@18456 4 VERSION="2.15"
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@18456 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@2559 10 WEB_SITE="http://pam-mount.sourceforge.net/"
pascal@2443 11 WGET_URL="$SF_MIRROR/pam-mount/$TARBALL"
pascal@15021 12
pascal@18456 13 BUILD_DEPENDS="pam-dev libhx libhx-dev libcrypto-dev openssl-dev libxml2-dev \
pascal@18456 14 util-linux-mount-dev util-linux-blkid-dev util-linux-uuid-dev"
pascal@2443 15 DEPENDS="pam libcrypto libxml2 libhx zlib"
pascal@2443 16
pascal@2443 17 # Rules to configure and make the package.
pascal@2443 18 compile_rules()
pascal@2443 19 {
pascal@18456 20 ./configure --prefix=/usr \
pascal@18456 21 --sysconfdir=/etc --localstatedir=/var \
pascal@18456 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/sbin $fs
pascal@15021 33 cp -a $install/etc $fs
pascal@15021 34 cp -a $install/lib $fs
pascal@15021 35 cp -a $install/var $fs
pascal@2443 36 }