wok view pixiewps/receipt @ rev 24211

created recipe for perl-file-rsync
author Hans-G?nter Theisgen
date Fri Dec 31 16:00:22 2021 +0100 (2021-12-31)
parents bd7112b1dc19
children 0262035dc1e7
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 }