wok view trickle/receipt @ rev 24533

updated f3 (7.2 -> 8.0)
author Hans-G?nter Theisgen
date Wed Feb 23 11:14:10 2022 +0100 (2022-02-23)
parents 261355c410d6
children f01b54fbd046
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 # 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 }