wok-current annotate nat-tester/receipt @ rev 25364
cpige: apply gibor patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 28 14:38:50 2022 +0000 (2022-07-28) |
parents | 3765f181a6d5 |
children |
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@15584 | 8 LICENSE="GPL3" |
pascal@4929 | 9 SOURCE="linuxTester" |
pascal@4929 | 10 TARBALL="linuxNatTester.tar.gz" |
pascal@25102 | 11 WEB_SITE="https://web.archive.org/web/20111005154320/http://nattest.net.in.tum.de/" |
pascal@25102 | 12 WGET_URL="https://web.archive.org/web/20111005155017if_/http://nattest.net.in.tum.de/$TARBALL" |
pascal@15584 | 13 TAGS="networking" |
pascal@15584 | 14 |
pascal@4929 | 15 BUILD_DEPENDS="pkg-config libsctp-dev libsctp zlib-dev libxml2-dev" |
pascal@4929 | 16 DEPENDS="zlib gcc-lib-base libxml2" |
pascal@4929 | 17 |
pascal@4929 | 18 # Rules to configure and make the package. |
pascal@4929 | 19 compile_rules() |
pascal@4929 | 20 { |
pascal@4929 | 21 cd $src |
pascal@4929 | 22 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@4929 | 23 --mandir=/usr/share/man \ |
pascal@4929 | 24 $CONFIGURE_ARGS && |
pascal@4929 | 25 make && |
pascal@15584 | 26 make DESTDIR=$DESTDIR install |
pascal@4929 | 27 } |
pascal@4929 | 28 |
pascal@4929 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4929 | 30 genpkg_rules() |
pascal@4929 | 31 { |
pascal@4929 | 32 mkdir -p $fs/usr/share/nat-tester |
pascal@15584 | 33 cp -a $install/usr/bin/NatTester $fs/usr/share/nat-tester |
pascal@4929 | 34 cp -a $src/src/framework.cfg $fs/usr/share/nat-tester |
pascal@4929 | 35 } |
pascal@4929 | 36 |