wok view gentorrent/receipt @ rev 25383

updated units (2.19 -> 2.21)
author Hans-G?nter Theisgen
date Sat Jul 30 17:22:12 2022 +0100 (2022-07-30)
parents af8d823a3077
children a5e183d53960
line source
1 # SliTaz package receipt.
3 PACKAGE="gentorrent"
4 VERSION="1.0.2"
5 CATEGORY="network"
6 SHORT_DESC="Creates BitTorrent metainfo files with any BitTorrent extension."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://tanguy.ortolo.eu/perso/pages/projets/gentorrent"
11 WGET_URL="git|git://git.ortolo.eu/gentorrent.git"
13 DEPENDS="py3k"
14 BUILD_DEPENDS="git"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - http://git.ortolo.eu/gentorrent.git/ 2>/dev/null | \
20 sed '/version\/[0-9]/!d;s|.*version/||;s|<.*||' | sort -Vr | sed q
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin
27 cp -a $src/gentorrent.py $fs/usr/bin
28 }