wok-next diff 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 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/pixiewps/receipt Mon Oct 23 13:19:31 2017 +0200 1.3 @@ -0,0 +1,31 @@ 1.4 +# SliTaz package receipt v2. 1.5 + 1.6 +PACKAGE="pixiewps" 1.7 +VERSION="1.2.2" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="An offline WPS brute-force utility" 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="GPL3" 1.12 +WEB_SITE="https://github.com/wiire-a/pixiewps" 1.13 + 1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 +WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + sed -i 's|\$(DESTDIR)/usr|/usr|; s|/local||' src/Makefile 1.21 + cd $src/src 1.22 + 1.23 + make && make install 1.24 + 1.25 + docdir=$install/usr/share/doc/$PACKAGE-$VERSION 1.26 + mkdir -p $docdir 1.27 + cp $src/README.md $docdir 1.28 +} 1.29 + 1.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.31 +genpkg_rules() 1.32 +{ 1.33 + copy @std 1.34 +}