wok-next diff iperf/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents de49f29b101e
children d5aab818505e
line diff
     1.1 --- a/iperf/receipt	Thu Dec 05 15:25:09 2013 +0000
     1.2 +++ b/iperf/receipt	Tue Oct 16 16:46:05 2018 +0300
     1.3 @@ -1,31 +1,25 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="iperf"
     1.8  VERSION="2.0.5"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="Measure network performance."
    1.11 +SHORT_DESC="Measure network performance"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="BSD"
    1.14 +WEB_SITE="http://iperf.fr/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION-source.tar.gz"
    1.17 -WEB_SITE="http://iperf.fr/"
    1.18  WGET_URL="${WEB_SITE}download/${PACKAGE}_$VERSION/$TARBALL"
    1.19  
    1.20 -DEPENDS="gcc-lib-base"
    1.21 -BUILD_DEPENDS=""
    1.22  
    1.23 -# Rules to configure and make the package.
    1.24 -compile_rules()
    1.25 -{
    1.26 -	cd $src
    1.27 +compile_rules() {
    1.28  	./configure prefix=/usr &&
    1.29  	make &&
    1.30  	make DESTDIR=$DESTDIR install
    1.31  }
    1.32  
    1.33 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 -genpkg_rules()
    1.35 -{
    1.36 +genpkg_rules() {
    1.37  	mkdir -p $fs/usr
    1.38  	cp -a $install/usr/bin $fs/usr
    1.39 +	DEPENDS="gcc-lib-base"
    1.40  }
    1.41 -