wok view trickle/receipt @ rev 18442
jsoncpp: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 24 11:29:26 2015 +0200 (2015-09-24) |
parents | 7a3e592e7c6a |
children | ff9bdf719828 |
line source
1 # SliTaz package receipt.
3 PACKAGE="trickle"
4 HASH=17ed72d9f10b1be38cea333e7ed7875a3cc9fb7b
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="http://monkey.org/~marius/pages/?page=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 aclocal
22 autoconf
23 automake --add-missing
24 ./configure --prefix=/usr \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/bin $fs/usr
35 }