wok-6.x view bittorrent/receipt @ rev 24593
updated geos and geos-dev (3.8.0 -> 3.10.2)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 01 13:55:15 2022 +0100 (2022-03-01) |
parents | 8a056aec03a0 |
children | 1be16cc1cd50 |
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="http://distro.ibiblio.org/sourcemage/mirror/fallback/$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 }