SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "gentorrent"

# SliTaz package receipt.

PACKAGE="gentorrent"
VERSION="1.0.2"
CATEGORY="network"
SHORT_DESC="Creates BitTorrent metainfo files with any BitTorrent extension."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL3"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://tanguy.ortolo.eu/perso/pages/projets/gentorrent"
WGET_URL="git|git://git.ortolo.eu/gentorrent.git"

DEPENDS="py3k"
BUILD_DEPENDS="git"

# What is the latest version available today?
current_version()
{
    wget -O - http://git.ortolo.eu/gentorrent.git/ 2>/dev/null | \
    sed '/version\/[0-9]/!d;s|.*version/||;s|<.*||;s|.tar.*||' | sort -Vr | sed q
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin
    cp -a $src/gentorrent.py $fs/usr/bin
}
5935 packages and 845883 files in cooking database (Sun Jun 30 00:45:24 2024)