wok-6.x view nat-tester/receipt @ rev 17429
luafilesystem: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 05 17:51:34 2014 +0100 (2014-12-05) |
parents | bee79018e13a |
children | c85bdee1fe53 |
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 LICENSE="GPL3"
9 SOURCE="linuxTester"
10 TARBALL="linuxNatTester.tar.gz"
11 WEB_SITE="http://nattest.net.in.tum.de/"
12 WGET_URL="${WEB_SITE}$TARBALL"
13 TAGS="networking"
15 BUILD_DEPENDS="pkg-config libsctp-dev libsctp zlib-dev libxml2-dev"
16 DEPENDS="zlib gcc-lib-base libxml2"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure --prefix=/usr --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share/nat-tester
33 cp -a $install/usr/bin/NatTester $fs/usr/share/nat-tester
34 cp -a $src/src/framework.cfg $fs/usr/share/nat-tester
35 }