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