wok view pwauth/receipt @ rev 25603

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 18 11:43:32 2023 +0000 (16 months ago)
parents b569b85b0fb9
children
line source
1 # SliTaz package receipt.
3 PACKAGE="pwauth"
4 VERSION="2.3.10"
5 CATEGORY="security"
6 SHORT_DESC="Support reasonably secure web auth using system password DB"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/phokz/pwauth"
11 WGET_URL="https://github.com/phokz/pwauth/archive/refs/tags/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS="wget"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src && make
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin
33 cp -a $src/pwauth $fs/usr/bin
34 }