wok-next annotate nat-tester/receipt @ rev 20859

Update ALSA stack (1.1.6)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jun 27 13:35:43 2018 +0300 (2018-06-27)
parents 3765f181a6d5
children d5aab818505e
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@20513 24 make DESTDIR=$DESTDIR 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 }