SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "trickle"

# SliTaz package receipt.

PACKAGE="trickle"
HASH=17ed72d9f10b1be38cea333e7ed7875a3cc9fb7b
VERSION="1.07"
CATEGORY="network"
SHORT_DESC="A portable lightweight userspace bandwidth shaper"
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="BSD"
TARBALL="$PACKAGE-${VERSION/_/-}.zip"
WEB_SITE="https://github.com/mariusae/trickle/"
WGET_URL="https://github.com/mariusae/trickle/archive/$HASH.zip"

DEPENDS="libevent"
BUILD_DEPENDS="libevent-dev wget automake autoconf libtool"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE/commits/master 2>/dev/null | \
    sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
}

# Rules to configure and make the package.
compile_rules()
{
    touch libtrickle.so
    libtoolize -f
    aclocal
    autoconf
    automake --add-missing
    ./configure --prefix=/usr \
        $CONFIGURE_ARGS &&
    make -j 1 &&
    make -j 1 DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $install/usr/bin $fs/usr
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)