wok-current diff pwnat/receipt @ rev 14069

avatar-factory: fix genpkg_rulles
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 21 08:37:47 2013 +0100 (2013-02-21)
parents
children bf4a09ef1d2e
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pwnat/receipt	Thu Feb 21 08:37:47 2013 +0100
     1.3 @@ -0,0 +1,25 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="pwnat"
     1.7 +VERSION="0.3"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="NAT Traversal utility."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION-beta.tgz"
    1.12 +WEB_SITE="http://samy.pl/pwnat"
    1.13 +WGET_URL="$WEB_SITE/$TARBALL"
    1.14 +
    1.15 +# Rules to configure and make the package.
    1.16 +compile_rules()
    1.17 +{
    1.18 +	mv $PACKAGE-$VERSION-beta $src 2> /dev/null
    1.19 +	cd $src
    1.20 +	make
    1.21 +}
    1.22 +
    1.23 +# Rules to gen a SliTaz package suitable for Tazpkg.   
    1.24 +genpkg_rules()                                      
    1.25 +{
    1.26 +	mkdir -p $fs/usr/bin
    1.27 +	cp -a $src/pwnat $fs/usr/bin
    1.28 +}