wok-6.x annotate ctorrent-dnh/receipt @ rev 24721
updated libburn and libburn-dev (1.5.2 -> 1.5.4)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 15 09:33:23 2022 +0100 (2022-03-15) |
parents | e6a4cd87fdcb |
children |
rev | line source |
---|---|
pankso@575 | 1 # SliTaz package receipt. |
pankso@575 | 2 |
pankso@575 | 3 PACKAGE="ctorrent-dnh" |
pankso@1764 | 4 VERSION="3.3.2" |
pankso@575 | 5 CATEGORY="network" |
pankso@575 | 6 SHORT_DESC="Command line Bittorrent client." |
pankso@575 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14781 | 8 LICENSE="GPL2" |
pankso@1764 | 9 TARBALL="${PACKAGE}$VERSION.tar.gz" |
pankso@575 | 10 WEB_SITE="http://www.rahul.net/dholmes/ctorrent/" |
pankso@1764 | 11 WGET_URL="$SF_MIRROR/dtorrent/$TARBALL" |
pankso@575 | 12 |
pascal@24373 | 13 # What is the latest version available today? |
pascal@24373 | 14 current_version() |
pascal@24373 | 15 { |
pascal@24373 | 16 wget -O - https://sourceforge.net/projects/dtorrent/files/dtorrent/ 2>/dev/null | \ |
pascal@24373 | 17 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24373 | 18 sed '/scope="row/!d;s|.*/dtorrent/||;s|/.*||;q' |
pascal@24373 | 19 } |
pascal@24373 | 20 |
pankso@575 | 21 # Rules to configure and make the package. |
pankso@575 | 22 compile_rules() |
pankso@575 | 23 { |
pankso@575 | 24 ./configure \ |
pankso@575 | 25 --prefix=/usr \ |
pankso@575 | 26 --with-ssl=no \ |
pankso@575 | 27 $CONFIGURE_ARGS |
pankso@575 | 28 make |
pascal@14781 | 29 make DESTDIR=$DESTDIR install |
pankso@575 | 30 } |
pankso@575 | 31 |
pankso@575 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@575 | 33 genpkg_rules() |
pankso@575 | 34 { |
pankso@575 | 35 mkdir -p $fs/usr |
pascal@14781 | 36 cp -a $install/usr/bin $fs/usr |
pankso@1764 | 37 # Torrentbox |
pankso@9697 | 38 cp $stuff/torrentbox $fs/usr/bin |
pankso@575 | 39 } |