wok-stable rev 4929

Add nat-tester
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 16 12:15:32 2010 +0100 (2010-02-16)
parents bbc090152e7e
children 2452e3f7e866
files nat-tester/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/nat-tester/receipt	Tue Feb 16 12:15:32 2010 +0100
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="nat-tester"
     1.7 +VERSION="0.1"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Network Address Translator tester."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +SOURCE="linuxTester"
    1.12 +TARBALL="linuxNatTester.tar.gz"
    1.13 +WEB_SITE="http://nattest.net.in.tum.de/"
    1.14 +WGET_URL="${WEB_SITE}$TARBALL"
    1.15 +BUILD_DEPENDS="pkg-config libsctp-dev libsctp zlib-dev libxml2-dev"
    1.16 +DEPENDS="zlib gcc-lib-base libxml2"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +	./configure --prefix=/usr --infodir=/usr/share/info \
    1.23 +	--mandir=/usr/share/man \
    1.24 +	$CONFIGURE_ARGS &&
    1.25 +	make &&
    1.26 +	make DESTDIR=$PWD/_pkg install
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	mkdir -p $fs/usr/share/nat-tester
    1.33 +	cp -a $_pkg/usr/bin/NatTester $fs/usr/share/nat-tester
    1.34 +	cp -a $src/src/framework.cfg $fs/usr/share/nat-tester
    1.35 +}
    1.36 +