wok-6.x annotate pamtester/receipt @ rev 14329
Up: connman (1.12)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Fri Apr 12 19:56:50 2013 +0200 (2013-04-12) |
parents | |
children | 51a1ebbda768 |
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@11214 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11214 | 9 WEB_SITE="http://$PACKAGE.sourceforge.net/" |
pascal@11214 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@11214 | 11 DEPENDS="pam" |
pascal@11214 | 12 BUILD_DEPENDS="pam pam-dev" |
pascal@11214 | 13 |
pascal@11214 | 14 # Rules to configure and make the package. |
pascal@11214 | 15 compile_rules() |
pascal@11214 | 16 { |
pascal@11214 | 17 cd $src |
pascal@11214 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@11214 | 19 --mandir=/usr/share/man \ |
pascal@11214 | 20 $CONFIGURE_ARGS && |
pascal@11214 | 21 make && |
pascal@11214 | 22 make DESTDIR=$DESTDIR install |
pascal@11214 | 23 } |
pascal@11214 | 24 |
pascal@11214 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11214 | 26 genpkg_rules() |
pascal@11214 | 27 { |
pascal@11214 | 28 mkdir -p $fs/usr |
pascal@11214 | 29 cp -a $_pkg/usr/bin $fs/usr |
pascal@11214 | 30 } |