wok-current view bittorrent/receipt @ rev 25719
Fix miss dep for mesa (libglvnd) libGL.so.1, libEGL.so.1
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Jun 16 06:14:51 2024 +0000 (5 months ago) |
parents | 1be16cc1cd50 |
children |
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;/Stable/d;s|.*BitTorrent-||;s|.[te].*||' | 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 }