wok-6.x view nat-tester/receipt @ rev 11522
gejengel: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 24 14:21:52 2011 +0100 (2011-12-24) |
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 }