wok-next annotate nat-tester/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | d43bf7aae921 |
children |
rev | line source |
---|---|
al@20513 | 1 # SliTaz package receipt v2. |
pascal@4929 | 2 |
pascal@4929 | 3 PACKAGE="nat-tester" |
pascal@4929 | 4 VERSION="0.1" |
pascal@4929 | 5 CATEGORY="network" |
al@20513 | 6 SHORT_DESC="Network Address Translator tester" |
pascal@4929 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15584 | 8 LICENSE="GPL3" |
al@20513 | 9 WEB_SITE="http://nattest.net.in.tum.de/" |
al@20513 | 10 |
pascal@4929 | 11 TARBALL="linuxNatTester.tar.gz" |
pascal@4929 | 12 WGET_URL="${WEB_SITE}$TARBALL" |
pascal@15584 | 13 TAGS="networking" |
pascal@15584 | 14 |
al@20513 | 15 BUILD_DEPENDS="libsctp-dev libsctp zlib-dev libxml2-dev" |
pascal@4929 | 16 |
al@20513 | 17 compile_rules() { |
al@20513 | 18 ./configure \ |
al@20513 | 19 --prefix=/usr \ |
al@20513 | 20 --infodir=/usr/share/info \ |
al@20513 | 21 --mandir=/usr/share/man \ |
al@20513 | 22 $CONFIGURE_ARGS && |
pascal@4929 | 23 make && |
al@21020 | 24 make DESTDIR=$install install || return 1 |
al@20513 | 25 |
al@20513 | 26 mkdir -p $install/usr/share/nat-tester/ |
al@20513 | 27 mv $install/usr/bin/NatTester $install/usr/share/nat-tester/ # ? |
al@20513 | 28 cp -a $src/src/framework.cfg $install/usr/share/nat-tester/ |
pascal@4929 | 29 } |
pascal@4929 | 30 |
al@20513 | 31 genpkg_rules() { |
al@20513 | 32 copy @std |
al@20513 | 33 DEPENDS="zlib gcc-lib-base libxml2" |
pascal@4929 | 34 } |