wok-current annotate pwnat/receipt @ rev 11562

Add pwnat form wok-undigest
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 25 15:19:19 2011 +0100 (2011-12-25)
parents
children bf4a09ef1d2e
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@11562 8 TARBALL="$PACKAGE-$VERSION-beta.tgz"
pascal@11562 9 WEB_SITE="http://samy.pl/pwnat"
pascal@11562 10 WGET_URL="$WEB_SITE/$TARBALL"
pascal@11562 11
pascal@11562 12 # Rules to configure and make the package.
pascal@11562 13 compile_rules()
pascal@11562 14 {
pascal@11562 15 mv $PACKAGE-$VERSION-beta $src 2> /dev/null
pascal@11562 16 cd $src
pascal@11562 17 make
pascal@11562 18 }
pascal@11562 19
pascal@11562 20 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11562 21 genpkg_rules()
pascal@11562 22 {
pascal@11562 23 mkdir -p $fs/usr/bin
pascal@11562 24 cp -a $src/pwnat $fs/usr/bin
pascal@11562 25 }