wok-current annotate nat-tester/receipt @ rev 23153

updated lxtask (0.1.8 -> 0.1.9)
author Hans-G?nter Theisgen
date Sun Mar 15 16:52:17 2020 +0100 (2020-03-15)
parents bee79018e13a
children c85bdee1fe53
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@4929 11 WEB_SITE="http://nattest.net.in.tum.de/"
pascal@4929 12 WGET_URL="${WEB_SITE}$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