wok-6.x view bittorrent/receipt @ rev 25128

updated cgdb (0.7.1 -> 0.8.0)
author Hans-G?nter Theisgen
date Tue Jun 28 17:15:25 2022 +0100 (2022-06-28)
parents 104a2a2e5484
children fbe88431f963
line source
1 # SliTaz package receipt.
3 PACKAGE="bittorrent"
4 VERSION="5.2.2"
5 CATEGORY="network"
6 SHORT_DESC="A tool for distributing files. Each new downloader add new upload capacity."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="other"
9 WEB_SITE="https://www.bittorrent.com/"
11 SOURCE="BitTorrent"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://web.archive.org/web/20110704154940/http://download.bittorrent.com/dl/archive/$TARBALL"
15 DEPENDS="python"
16 BUILD_DEPENDS="python python-constantly twisted"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed '/BitTorrent/!d;s|.*BitTorrent-||;s|.tar.*||' | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 python setup.py install --root=$DESTDIR
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/* $fs
35 }