wok-next annotate ctorrent-dnh/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | f48456621a9d |
children |
rev | line source |
---|---|
al@21017 | 1 # SliTaz package receipt v2. |
pankso@575 | 2 |
pankso@575 | 3 PACKAGE="ctorrent-dnh" |
pankso@1764 | 4 VERSION="3.3.2" |
pankso@575 | 5 CATEGORY="network" |
al@21017 | 6 SHORT_DESC="Command line Bittorrent client" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@14781 | 8 LICENSE="GPL2" |
al@21017 | 9 WEB_SITE="http://www.rahul.net/dholmes/ctorrent/" |
al@21017 | 10 |
al@21020 | 11 TARBALL="$PACKAGE$VERSION.tar.gz" |
pankso@1764 | 12 WGET_URL="$SF_MIRROR/dtorrent/$TARBALL" |
pankso@575 | 13 |
al@21017 | 14 compile_rules() { |
al@21020 | 15 mv $PACKAGE$VERSION $PACKAGE-$VERSION 2>/dev/null |
pankso@575 | 16 cd $src |
pankso@575 | 17 ./configure \ |
pankso@575 | 18 --prefix=/usr \ |
pankso@575 | 19 --with-ssl=no \ |
al@21017 | 20 $CONFIGURE_ARGS && |
al@21017 | 21 make && |
al@21020 | 22 make DESTDIR=$install install |
pankso@575 | 23 } |
pankso@575 | 24 |
al@21017 | 25 genpkg_rules() { |
pankso@575 | 26 mkdir -p $fs/usr |
pascal@14781 | 27 cp -a $install/usr/bin $fs/usr |
pankso@1764 | 28 # Torrentbox |
pankso@9697 | 29 cp $stuff/torrentbox $fs/usr/bin |
pankso@575 | 30 } |