wok-next diff 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
line diff
     1.1 --- a/nat-tester/receipt	Sat Nov 30 17:02:58 2013 +0000
     1.2 +++ b/nat-tester/receipt	Wed Jun 27 13:35:43 2018 +0300
     1.3 @@ -1,36 +1,34 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="nat-tester"
     1.8  VERSION="0.1"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="Network Address Translator tester."
    1.11 +SHORT_DESC="Network Address Translator tester"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL3"
    1.14 -SOURCE="linuxTester"
    1.15 +WEB_SITE="http://nattest.net.in.tum.de/"
    1.16 +
    1.17  TARBALL="linuxNatTester.tar.gz"
    1.18 -WEB_SITE="http://nattest.net.in.tum.de/"
    1.19  WGET_URL="${WEB_SITE}$TARBALL"
    1.20  TAGS="networking"
    1.21  
    1.22 -BUILD_DEPENDS="pkg-config libsctp-dev libsctp zlib-dev libxml2-dev"
    1.23 -DEPENDS="zlib gcc-lib-base libxml2"
    1.24 +BUILD_DEPENDS="libsctp-dev libsctp zlib-dev libxml2-dev"
    1.25  
    1.26 -# Rules to configure and make the package.
    1.27 -compile_rules()
    1.28 -{
    1.29 -	cd $src
    1.30 -	./configure --prefix=/usr --infodir=/usr/share/info \
    1.31 -	--mandir=/usr/share/man \
    1.32 -	$CONFIGURE_ARGS &&
    1.33 +compile_rules() {
    1.34 +	./configure \
    1.35 +		--prefix=/usr \
    1.36 +		--infodir=/usr/share/info \
    1.37 +		--mandir=/usr/share/man \
    1.38 +		$CONFIGURE_ARGS &&
    1.39  	make &&
    1.40 -	make DESTDIR=$DESTDIR install
    1.41 +	make DESTDIR=$DESTDIR install || return 1
    1.42 +
    1.43 +	mkdir -p $install/usr/share/nat-tester/
    1.44 +	mv $install/usr/bin/NatTester $install/usr/share/nat-tester/ # ?
    1.45 +	cp -a $src/src/framework.cfg  $install/usr/share/nat-tester/
    1.46  }
    1.47  
    1.48 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.49 -genpkg_rules()
    1.50 -{
    1.51 -	mkdir -p $fs/usr/share/nat-tester
    1.52 -	cp -a $install/usr/bin/NatTester $fs/usr/share/nat-tester
    1.53 -	cp -a $src/src/framework.cfg $fs/usr/share/nat-tester
    1.54 +genpkg_rules() {
    1.55 +	copy @std
    1.56 +	DEPENDS="zlib gcc-lib-base libxml2"
    1.57  }
    1.58 -