wok view pixiewps/receipt @ rev 25691

Up lynis (3.1.1), ncurses-examples (20211021)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 16 10:43:04 2024 +0000 (4 weeks ago)
parents 5ea0ce1cecc0
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 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
18 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 make
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin
31 mkdir -p $install/usr/share/doc
33 cp -a $src/pixiewps $fs/usr/bin
34 cp -a $src/README.md $install/usr/share/doc
35 }