wok view bittorrent/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
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 }