wok-next annotate pixiewps/receipt @ rev 20050
Up scite (4.0.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 23 13:19:31 2017 +0200 (2017-10-23) |
parents | |
children | d5aab818505e |
rev | line source |
---|---|
al@19837 | 1 # SliTaz package receipt v2. |
al@19837 | 2 |
al@19837 | 3 PACKAGE="pixiewps" |
al@19837 | 4 VERSION="1.2.2" |
al@19837 | 5 CATEGORY="network" |
al@19837 | 6 SHORT_DESC="An offline WPS brute-force utility" |
al@19837 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
al@19837 | 8 LICENSE="GPL3" |
al@19837 | 9 WEB_SITE="https://github.com/wiire-a/pixiewps" |
al@19837 | 10 |
al@19837 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19837 | 12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" |
al@19837 | 13 |
al@19837 | 14 # Rules to configure and make the package. |
al@19837 | 15 compile_rules() |
al@19837 | 16 { |
al@19837 | 17 sed -i 's|\$(DESTDIR)/usr|/usr|; s|/local||' src/Makefile |
al@19837 | 18 cd $src/src |
al@19837 | 19 |
al@19837 | 20 make && make install |
al@19837 | 21 |
al@19837 | 22 docdir=$install/usr/share/doc/$PACKAGE-$VERSION |
al@19837 | 23 mkdir -p $docdir |
al@19837 | 24 cp $src/README.md $docdir |
al@19837 | 25 } |
al@19837 | 26 |
al@19837 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19837 | 28 genpkg_rules() |
al@19837 | 29 { |
al@19837 | 30 copy @std |
al@19837 | 31 } |