wok-next view trickle/receipt @ rev 20244
Update bdeps: apache-mod-perl, codeblocks, tacacs+, thunar-archive-plugin, tuxpaint, xpenguins
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Nov 07 10:54:15 2017 +0200 (2017-11-07) |
parents | 9689f1b75619 |
children | 10df65db91ad |
line source
1 # SliTaz package receipt.
3 PACKAGE="trickle"
4 HASH=66551ad94ad3d8af83e1e4422804676ac8762f47 # 13/1/2015
5 VERSION="${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 autoreconf -if
22 ./configure --prefix=/usr \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/lib/trickle $fs/usr/lib
34 }