wok annotate nat-tester/receipt @ rev 13952
xournal: up to 4.7
author | ernia <monghitri@aruba.it> |
---|---|
date | Tue Jan 29 21:53:31 2013 +0000 (2013-01-29) |
parents | b87922746404 |
children | 3765f181a6d5 |
rev | line source |
---|---|
pascal@4929 | 1 # SliTaz package receipt. |
pascal@4929 | 2 |
pascal@4929 | 3 PACKAGE="nat-tester" |
pascal@4929 | 4 VERSION="0.1" |
pascal@4929 | 5 CATEGORY="network" |
pascal@4929 | 6 SHORT_DESC="Network Address Translator tester." |
pascal@4929 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@4929 | 8 SOURCE="linuxTester" |
pascal@4929 | 9 TARBALL="linuxNatTester.tar.gz" |
pascal@4929 | 10 WEB_SITE="http://nattest.net.in.tum.de/" |
pascal@4929 | 11 WGET_URL="${WEB_SITE}$TARBALL" |
pascal@4929 | 12 BUILD_DEPENDS="pkg-config libsctp-dev libsctp zlib-dev libxml2-dev" |
pascal@4929 | 13 DEPENDS="zlib gcc-lib-base libxml2" |
jozee@4969 | 14 TAGS="networking" |
pascal@4929 | 15 |
pascal@4929 | 16 # Rules to configure and make the package. |
pascal@4929 | 17 compile_rules() |
pascal@4929 | 18 { |
pascal@4929 | 19 cd $src |
pascal@4929 | 20 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@4929 | 21 --mandir=/usr/share/man \ |
pascal@4929 | 22 $CONFIGURE_ARGS && |
pascal@4929 | 23 make && |
pascal@4929 | 24 make DESTDIR=$PWD/_pkg install |
pascal@4929 | 25 } |
pascal@4929 | 26 |
pascal@4929 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4929 | 28 genpkg_rules() |
pascal@4929 | 29 { |
pascal@4929 | 30 mkdir -p $fs/usr/share/nat-tester |
pascal@4929 | 31 cp -a $_pkg/usr/bin/NatTester $fs/usr/share/nat-tester |
pascal@4929 | 32 cp -a $src/src/framework.cfg $fs/usr/share/nat-tester |
pascal@4929 | 33 } |
pascal@4929 | 34 |