wok annotate pwauth/receipt @ rev 25135

updated phpfm (0.9.8 -> 1.7.9)
author Hans-G?nter Theisgen
date Wed Jun 29 10:56:29 2022 +0100 (2022-06-29)
parents b569b85b0fb9
children
rev   line source
pankso@12191 1 # SliTaz package receipt.
pankso@12191 2
pankso@12191 3 PACKAGE="pwauth"
pankso@12191 4 VERSION="2.3.10"
pankso@12191 5 CATEGORY="security"
pankso@12191 6 SHORT_DESC="Support reasonably secure web auth using system password DB"
pankso@12191 7 MAINTAINER="pankso@slitaz.org"
pascal@15376 8 LICENSE="BSD"
pankso@12191 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@24308 10 WEB_SITE="https://github.com/phokz/pwauth"
pascal@24976 11 WGET_URL="https://github.com/phokz/pwauth/archive/refs/tags/$TARBALL"
pankso@12191 12
pankso@12191 13 DEPENDS=""
pankso@12191 14 BUILD_DEPENDS="wget"
pankso@12191 15
pascal@24308 16 # What is the latest version available today?
pascal@24308 17 current_version()
pascal@24308 18 {
pascal@24308 19 wget -O - $WEB_SITE/tags 2>/dev/null | \
pascal@24308 20 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
pascal@24308 21 }
pascal@24308 22
pankso@12191 23 # Rules to configure and make the package.
pankso@12191 24 compile_rules()
pankso@12191 25 {
pankso@12191 26 cd $src && make
pankso@12191 27 }
pankso@12191 28
pankso@12191 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@12191 30 genpkg_rules()
pankso@12191 31 {
pankso@12191 32 mkdir -p $fs/usr/bin
pankso@12191 33 cp -a $src/pwauth $fs/usr/bin
pankso@12191 34 }