wok-4.x view pwnat/receipt @ rev 12057

cleaning up receipts that have unnecessary cp operations
author Samuel Trassare <samuel_trassare@yahoo.com>
date Wed Mar 07 21:27:37 2012 -0800 (2012-03-07)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="pwnat"
4 VERSION="0.3"
5 CATEGORY="network"
6 SHORT_DESC="NAT Traversal utility."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION-beta.tgz"
9 WEB_SITE="http://samy.pl/pwnat"
10 WGET_URL="$WEB_SITE/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 mv $PACKAGE-$VERSION-beta $src 2> /dev/null
16 cd $src
17 make
18 }
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p $fs/usr/bin
24 cp -a $src/pwnat $fs/usr/bin
25 }