wok annotate ctorrent-dnh/receipt @ rev 20152
Up miniupnp (2.0.20171212), fix get-rar url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 18 11:31:21 2017 +0100 (2017-12-18) |
parents | a1644dbcf632 |
children | e6a4cd87fdcb |
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 |
pankso@575 | 13 # Rules to configure and make the package. |
pankso@575 | 14 compile_rules() |
pankso@575 | 15 { |
pankso@1764 | 16 mv ${PACKAGE}$VERSION $PACKAGE-$VERSION 2>/dev/null |
pankso@575 | 17 cd $src |
pankso@575 | 18 ./configure \ |
pankso@575 | 19 --prefix=/usr \ |
pankso@575 | 20 --with-ssl=no \ |
pankso@575 | 21 $CONFIGURE_ARGS |
pankso@575 | 22 make |
pascal@14781 | 23 make DESTDIR=$DESTDIR install |
pankso@575 | 24 } |
pankso@575 | 25 |
pankso@575 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@575 | 27 genpkg_rules() |
pankso@575 | 28 { |
pankso@575 | 29 mkdir -p $fs/usr |
pascal@14781 | 30 cp -a $install/usr/bin $fs/usr |
pankso@1764 | 31 # Torrentbox |
pankso@9697 | 32 cp $stuff/torrentbox $fs/usr/bin |
pankso@575 | 33 } |