wok annotate pamtester/receipt @ rev 20522
Up fwknop-dev (2.6.10)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 05 18:56:51 2018 +0100 (2018-11-05) |
parents | 2f79d601d5bc |
children | 080c1dff8494 |
rev | line source |
---|---|
pascal@11214 | 1 # SliTaz package receipt. |
pascal@11214 | 2 |
pascal@11214 | 3 PACKAGE="pamtester" |
pascal@11214 | 4 VERSION="0.1.2" |
pascal@11214 | 5 CATEGORY="system-tools" |
pascal@11214 | 6 SHORT_DESC="Test the pluggable authentication modules (PAM) facility" |
pascal@11214 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15375 | 8 LICENSE="BSD" |
pascal@11214 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11214 | 10 WEB_SITE="http://$PACKAGE.sourceforge.net/" |
pascal@11214 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@15375 | 12 |
pascal@11214 | 13 DEPENDS="pam" |
pascal@11214 | 14 BUILD_DEPENDS="pam pam-dev" |
pascal@11214 | 15 |
pascal@11214 | 16 # Rules to configure and make the package. |
pascal@11214 | 17 compile_rules() |
pascal@11214 | 18 { |
pascal@11214 | 19 cd $src |
pascal@11214 | 20 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@11214 | 21 --mandir=/usr/share/man \ |
pascal@11214 | 22 $CONFIGURE_ARGS && |
pascal@11214 | 23 make && |
pascal@11214 | 24 make DESTDIR=$DESTDIR install |
pascal@11214 | 25 } |
pascal@11214 | 26 |
pascal@11214 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11214 | 28 genpkg_rules() |
pascal@11214 | 29 { |
pascal@11214 | 30 mkdir -p $fs/usr |
pascal@15375 | 31 cp -a $install/usr/bin $fs/usr |
pascal@11214 | 32 } |