wok-6.x annotate gentorrent/receipt @ rev 24697
updated kbd, kbd-base, kbd-busybox and kbd-vlock (2.2.0 -> 2.4.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 13 17:45:34 2022 +0100 (2022-03-13) |
parents | d941c1946d7f |
children | 7ae189994f37 |
rev | line source |
---|---|
pascal@15208 | 1 # SliTaz package receipt. |
pascal@15208 | 2 |
pascal@15208 | 3 PACKAGE="gentorrent" |
pascal@15208 | 4 VERSION="1.0.2" |
pascal@15208 | 5 CATEGORY="network" |
pascal@15208 | 6 SHORT_DESC="Creates BitTorrent metainfo files with any BitTorrent extension." |
pascal@15208 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15208 | 8 LICENSE="GPL3" |
pascal@15208 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@15208 | 10 WEB_SITE="http://tanguy.ortolo.eu/perso/pages/projets/gentorrent" |
pascal@15208 | 11 WGET_URL="http://git.ortolo.eu/gentorrent.git/snapshot/version/$VERSION.tar.gz" |
pascal@15208 | 12 |
pascal@15208 | 13 DEPENDS="py3k" |
pascal@15208 | 14 BUILD_DEPENDS="" |
pascal@15208 | 15 |
pascal@24445 | 16 # What is the latest version available today? |
pascal@24445 | 17 current_version() |
pascal@24445 | 18 { |
pascal@24445 | 19 wget -O - http://git.ortolo.eu/gentorrent.git/ 2>/dev/null | \ |
pascal@24445 | 20 sed '/version\/[0-9]/!d;s|.*version/||;s|<.*||' | sort -Vr | sed q |
pascal@24445 | 21 } |
pascal@24445 | 22 |
pascal@15208 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15208 | 24 genpkg_rules() |
pascal@15208 | 25 { |
pascal@15208 | 26 mkdir -p $fs/usr/bin |
pascal@20556 | 27 cp -a $src/*/gentorrent.py $fs/usr/bin |
pascal@15208 | 28 } |