wok-next annotate trickle/receipt @ rev 20446
pixman is obsolete -> xorg-pixman
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 28 13:29:20 2018 +0200 (2018-02-28) |
parents | 9689f1b75619 |
children | 10df65db91ad |
rev | line source |
---|---|
pascal@17410 | 1 # SliTaz package receipt. |
pascal@17410 | 2 |
pascal@17410 | 3 PACKAGE="trickle" |
pascal@19720 | 4 HASH=66551ad94ad3d8af83e1e4422804676ac8762f47 # 13/1/2015 |
pascal@17410 | 5 VERSION="${HASH:0:7}" |
pascal@17410 | 6 CATEGORY="network" |
pascal@17410 | 7 SHORT_DESC="A portable lightweight userspace bandwidth shaper" |
pascal@17410 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17410 | 9 LICENSE="BSD" |
pascal@17410 | 10 TARBALL="$PACKAGE-$VERSION.zip" |
pascal@19720 | 11 WEB_SITE="https://github.com/mariusae/trickle" |
pascal@17410 | 12 WGET_URL="https://github.com/mariusae/trickle/archive/$HASH.zip" |
pascal@17410 | 13 |
pascal@17482 | 14 DEPENDS="libevent" |
pascal@17413 | 15 BUILD_DEPENDS="libevent-dev wget automake autoconf libtool" |
pascal@17410 | 16 |
pascal@17410 | 17 # Rules to configure and make the package. |
pascal@17410 | 18 compile_rules() |
pascal@17410 | 19 { |
pascal@17410 | 20 touch libtrickle.so |
pascal@19720 | 21 autoreconf -if |
pascal@17410 | 22 ./configure --prefix=/usr \ |
pascal@17410 | 23 $CONFIGURE_ARGS && |
pascal@17410 | 24 make && |
pascal@17410 | 25 make DESTDIR=$DESTDIR install |
pascal@17410 | 26 } |
pascal@17410 | 27 |
pascal@17410 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17410 | 29 genpkg_rules() |
pascal@17410 | 30 { |
pascal@19720 | 31 mkdir -p $fs/usr/lib |
pascal@17410 | 32 cp -a $install/usr/bin $fs/usr |
pascal@19720 | 33 cp -a $install/usr/lib/trickle $fs/usr/lib |
pascal@17410 | 34 } |