wok view trickle/receipt @ rev 22829

nqc obfsproxy shiki-colors* trickle vmware-view-open-client: normalize $VERSION
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 08 11:00:21 2020 +0100 (2020-02-08)
parents 4a2b41b98e39
children 34e801e0eb52
line source
1 # SliTaz package receipt.
3 PACKAGE="trickle"
4 HASH=17ed72d9f10b1be38cea333e7ed7875a3cc9fb7b
5 VERSION="1.07_${HASH:0:7}"
6 CATEGORY="network"
7 SHORT_DESC="A portable lightweight userspace bandwidth shaper"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="BSD"
10 TARBALL="$PACKAGE-${VERSION/_/-}.zip"
11 WEB_SITE="https://github.com/mariusae/trickle/"
12 WGET_URL="https://github.com/mariusae/trickle/archive/$HASH.zip"
14 DEPENDS="libevent"
15 BUILD_DEPENDS="libevent-dev wget automake autoconf libtool"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 touch libtrickle.so
21 libtoolize -f
22 aclocal
23 autoconf
24 automake --add-missing
25 ./configure --prefix=/usr \
26 $CONFIGURE_ARGS &&
27 make -j 1 &&
28 make -j 1 DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/usr/bin $fs/usr
36 }