wok annotate pamtester/receipt @ rev 24784
updated yaws (2.0.7 -> 2.1.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 21 07:11:54 2022 +0100 (2022-03-21) |
parents | 51a1ebbda768 |
children | 7dd01dedad38 |
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@24396 | 16 # What is the latest version available today? |
pascal@24396 | 17 current_version() |
pascal@24396 | 18 { |
pascal@24396 | 19 wget -O - https://sourceforge.net/projects/pamtester/files/pamtester/ 2>/dev/null | \ |
pascal@24396 | 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24396 | 21 sed '/scope="row/!d;s|.*/pamtester/||;s|/.*||;q' |
pascal@24396 | 22 } |
pascal@24396 | 23 |
pascal@11214 | 24 # Rules to configure and make the package. |
pascal@11214 | 25 compile_rules() |
pascal@11214 | 26 { |
pascal@11214 | 27 cd $src |
pascal@11214 | 28 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@11214 | 29 --mandir=/usr/share/man \ |
pascal@11214 | 30 $CONFIGURE_ARGS && |
pascal@11214 | 31 make && |
pascal@11214 | 32 make DESTDIR=$DESTDIR install |
pascal@11214 | 33 } |
pascal@11214 | 34 |
pascal@11214 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11214 | 36 genpkg_rules() |
pascal@11214 | 37 { |
pascal@11214 | 38 mkdir -p $fs/usr |
pascal@15375 | 39 cp -a $install/usr/bin $fs/usr |
pascal@11214 | 40 } |