wok annotate pwnat/receipt @ rev 17668
Up tk (8.6.3) same as tcl
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 16 12:43:40 2015 +0100 (2015-02-16) |
parents | 29e89ac02bf7 |
children | abbb1698abc0 |
rev | line source |
---|---|
pascal@11562 | 1 # SliTaz package receipt. |
pascal@11562 | 2 |
pascal@11562 | 3 PACKAGE="pwnat" |
pascal@11562 | 4 VERSION="0.3" |
pascal@11562 | 5 CATEGORY="network" |
pascal@11562 | 6 SHORT_DESC="NAT Traversal utility." |
pascal@11562 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15376 | 8 LICENSE="GPL3" |
pascal@11562 | 9 TARBALL="$PACKAGE-$VERSION-beta.tgz" |
pascal@11562 | 10 WEB_SITE="http://samy.pl/pwnat" |
pascal@11562 | 11 WGET_URL="$WEB_SITE/$TARBALL" |
pascal@11562 | 12 |
pascal@11562 | 13 # Rules to configure and make the package. |
pascal@11562 | 14 compile_rules() |
pascal@11562 | 15 { |
pascal@11562 | 16 mv $PACKAGE-$VERSION-beta $src 2> /dev/null |
pascal@11562 | 17 cd $src |
pascal@11562 | 18 make |
pascal@11562 | 19 } |
pascal@11562 | 20 |
pascal@11562 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11562 | 22 genpkg_rules() |
pascal@11562 | 23 { |
pascal@11562 | 24 mkdir -p $fs/usr/bin |
pascal@11562 | 25 cp -a $src/pwnat $fs/usr/bin |
pascal@11562 | 26 } |