wok view trickle/receipt @ rev 24686
updated jbig2dec and jbig2dec-dev (0.18 -> 0.19)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 12 11:26:36 2022 +0100 (2022-03-12) |
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 }