wok-next view nat-tester/receipt @ rev 9705

gcc: dont erase Godane change ($stuff)
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 08 20:09:05 2011 +0200 (2011-05-08)
parents b87922746404
children 3765f181a6d5
line source
1 # SliTaz package receipt.
3 PACKAGE="nat-tester"
4 VERSION="0.1"
5 CATEGORY="network"
6 SHORT_DESC="Network Address Translator tester."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="linuxTester"
9 TARBALL="linuxNatTester.tar.gz"
10 WEB_SITE="http://nattest.net.in.tum.de/"
11 WGET_URL="${WEB_SITE}$TARBALL"
12 BUILD_DEPENDS="pkg-config libsctp-dev libsctp zlib-dev libxml2-dev"
13 DEPENDS="zlib gcc-lib-base libxml2"
14 TAGS="networking"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/nat-tester
31 cp -a $_pkg/usr/bin/NatTester $fs/usr/share/nat-tester
32 cp -a $src/src/framework.cfg $fs/usr/share/nat-tester
33 }