SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "bittorrent"

# SliTaz package receipt.

PACKAGE="bittorrent"
VERSION="5.2.2"
CATEGORY="network"
SHORT_DESC="A tool for distributing files. Each new downloader add new upload capacity."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="other"
WEB_SITE="https://www.bittorrent.com/"

SOURCE="BitTorrent"
TARBALL="$SOURCE-$VERSION.tar.gz"
WGET_URL="https://web.archive.org/web/20110704154940/http://download.bittorrent.com/dl/archive/$TARBALL"

DEPENDS="python"
BUILD_DEPENDS="python python-constantly twisted"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*} 2>/dev/null | \
    sed '/BitTorrent-/!d;/Stable/d;s|.*BitTorrent-||;s|.[te].*||' | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    python setup.py install --root=$DESTDIR
}

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