wok view trickle/receipt @ rev 17464
Up mercurial (3.2.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 22 15:02:01 2014 +0100 (2014-12-22) |
parents | 3524d7f7da59 |
children | 9689f1b75619 |
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 DEPEND="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 }