wok annotate gentorrent/receipt @ rev 25556
created recipes for nted and nted-lang
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 22 14:54:15 2023 +0100 (17 months ago) |
parents | af8d823a3077 |
children | a5e183d53960 |
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@25037 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@15208 | 10 WEB_SITE="http://tanguy.ortolo.eu/perso/pages/projets/gentorrent" |
pascal@25037 | 11 WGET_URL="git|git://git.ortolo.eu/gentorrent.git" |
pascal@15208 | 12 |
pascal@15208 | 13 DEPENDS="py3k" |
pascal@25037 | 14 BUILD_DEPENDS="git" |
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@25037 | 27 cp -a $src/gentorrent.py $fs/usr/bin |
pascal@15208 | 28 } |