wok annotate trickle/receipt @ rev 23513
busybox: musl & diet may fail
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 06 11:53:42 2020 +0200 (2020-04-06) |
parents | 4a2b41b98e39 |
children | 34e801e0eb52 |
rev | line source |
---|---|
pascal@17410 | 1 # SliTaz package receipt. |
pascal@17410 | 2 |
pascal@17410 | 3 PACKAGE="trickle" |
pascal@17410 | 4 HASH=17ed72d9f10b1be38cea333e7ed7875a3cc9fb7b |
pascal@22829 | 5 VERSION="1.07_${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@22829 | 10 TARBALL="$PACKAGE-${VERSION/_/-}.zip" |
pascal@22829 | 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@21490 | 21 libtoolize -f |
pascal@17413 | 22 aclocal |
pascal@17413 | 23 autoconf |
pascal@17413 | 24 automake --add-missing |
pascal@17410 | 25 ./configure --prefix=/usr \ |
pascal@17410 | 26 $CONFIGURE_ARGS && |
pascal@20582 | 27 make -j 1 && |
pascal@20572 | 28 make -j 1 DESTDIR=$DESTDIR install |
pascal@17410 | 29 } |
pascal@17410 | 30 |
pascal@17410 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17410 | 32 genpkg_rules() |
pascal@17410 | 33 { |
pascal@17410 | 34 mkdir -p $fs/usr |
pascal@17410 | 35 cp -a $install/usr/bin $fs/usr |
pascal@17410 | 36 } |