wok-current view nat-tester/receipt @ rev 21106
updated lfs-book (7.3 -> 8.4)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 19 13:56:25 2019 +0100 (2019-03-19) |
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 }