wok view ctorrent-dnh/receipt @ rev 25124

updated apache-mod-perl (2.0.8 -> 2.0.11)
author Hans-G?nter Theisgen
date Tue Jun 28 16:23:55 2022 +0100 (22 months ago)
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 }