wok annotate pwnat/receipt @ rev 12536

rage: need auto tools
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 26 02:16:57 2012 +0200 (2012-04-26)
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 }