# SliTaz package receipt. PACKAGE="nat-tester" VERSION="0.1" CATEGORY="network" SHORT_DESC="Network Address Translator tester." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL3" SOURCE="linuxTester" TARBALL="linuxNatTester.tar.gz" WEB_SITE="https://web.archive.org/web/20111005154320/http://nattest.net.in.tum.de/" WGET_URL="https://web.archive.org/web/20111005155017if_/http://nattest.net.in.tum.de/$TARBALL" TAGS="networking" BUILD_DEPENDS="pkg-config libsctp-dev libsctp zlib-dev libxml2-dev" DEPENDS="zlib gcc-lib-base libxml2" # Rules to configure and make the package. compile_rules() { cd $src ./configure --prefix=/usr --infodir=/usr/share/info \ --mandir=/usr/share/man \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share/nat-tester cp -a $install/usr/bin/NatTester $fs/usr/share/nat-tester cp -a $src/src/framework.cfg $fs/usr/share/nat-tester }