wok-current view trickle/receipt @ rev 24748
cairo-gl: disabled trace
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 16 15:28:37 2022 +0000 (2022-03-16) |
parents | 34e801e0eb52 |
children | e1e1678c5265 |
line source
1 # SliTaz package receipt.
3 PACKAGE="trickle"
4 HASH=17ed72d9f10b1be38cea333e7ed7875a3cc9fb7b
5 VERSION="1.07"
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE/commits/master 2>/dev/null | \
21 sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 touch libtrickle.so
28 libtoolize -f
29 aclocal
30 autoconf
31 automake --add-missing
32 ./configure --prefix=/usr \
33 $CONFIGURE_ARGS &&
34 make -j 1 &&
35 make -j 1 DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr
42 cp -a $install/usr/bin $fs/usr
43 }