wok-next diff trickle/receipt @ rev 20714

netkit-rsh: typo
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun May 27 12:56:13 2018 +0300 (2018-05-27)
parents ea968830b629
children d5aab818505e
line diff
     1.1 --- a/trickle/receipt	Wed May 24 17:21:02 2017 +0200
     1.2 +++ b/trickle/receipt	Sun May 27 12:56:13 2018 +0300
     1.3 @@ -1,34 +1,30 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="trickle"
     1.8 -HASH=66551ad94ad3d8af83e1e4422804676ac8762f47	# 13/1/2015
     1.9 +HASH="66551ad94ad3d8af83e1e4422804676ac8762f47"	# 13/1/2015
    1.10  VERSION="${HASH:0:7}"
    1.11  CATEGORY="network"
    1.12  SHORT_DESC="A portable lightweight userspace bandwidth shaper"
    1.13  MAINTAINER="pascal.bellard@slitaz.org"
    1.14  LICENSE="BSD"
    1.15 +WEB_SITE="https://github.com/mariusae/trickle"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.zip"
    1.18 -WEB_SITE="https://github.com/mariusae/trickle"
    1.19  WGET_URL="https://github.com/mariusae/trickle/archive/$HASH.zip"
    1.20  
    1.21 -DEPENDS="libevent"
    1.22  BUILD_DEPENDS="libevent-dev wget automake autoconf libtool"
    1.23  
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 +compile_rules() {
    1.28  	touch libtrickle.so
    1.29  	autoreconf -if
    1.30 -	./configure --prefix=/usr \
    1.31 -		$CONFIGURE_ARGS &&
    1.32 +
    1.33 +	./configure $CONFIGURE_ARGS &&
    1.34 +	fix libtool &&
    1.35  	make &&
    1.36  	make DESTDIR=$DESTDIR install
    1.37  }
    1.38  
    1.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.40 -genpkg_rules()
    1.41 -{
    1.42 -	mkdir -p $fs/usr/lib
    1.43 -	cp -a $install/usr/bin $fs/usr
    1.44 -	cp -a $install/usr/lib/trickle $fs/usr/lib
    1.45 +genpkg_rules() {
    1.46 +	copy @std
    1.47 +	DEPENDS="libevent"
    1.48  }