wok-6.x view pixiewps/receipt @ rev 24299

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 15 15:21:40 2022 +0000 (2022-01-15)
parents bd7112b1dc19
children
line source
1 # SliTaz package receipt.
3 PACKAGE="pixiewps"
4 VERSION="1.4.2"
5 CATEGORY="network"
6 SHORT_DESC="An offline WPS brute-force utility."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://github.com/wiire-a/pixiewps"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
14 current_version()
15 {
16 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
17 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
18 }
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 make
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/bin
30 mkdir -p $install/usr/share/doc
32 cp -a $src/pixiewps $fs/usr/bin
33 cp -a $src/README.md $install/usr/share/doc
34 }