wok annotate ctorrent-dnh/receipt @ rev 4619
linmodem-intel-53*: fix kernel version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 17 18:48:49 2009 +0100 (2009-12-17) |
parents | ef771ca92a97 |
children | a1644dbcf632 |
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" |
pankso@1764 | 8 TARBALL="${PACKAGE}$VERSION.tar.gz" |
pankso@575 | 9 WEB_SITE="http://www.rahul.net/dholmes/ctorrent/" |
pankso@1764 | 10 WGET_URL="$SF_MIRROR/dtorrent/$TARBALL" |
pankso@575 | 11 |
pankso@575 | 12 # Rules to configure and make the package. |
pankso@575 | 13 compile_rules() |
pankso@575 | 14 { |
pankso@1764 | 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 \ |
pankso@575 | 20 $CONFIGURE_ARGS |
pankso@575 | 21 make |
pankso@575 | 22 make DESTDIR=$PWD/_pkg install |
pankso@575 | 23 } |
pankso@575 | 24 |
pankso@575 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@575 | 26 genpkg_rules() |
pankso@575 | 27 { |
pankso@575 | 28 mkdir -p $fs/usr |
pankso@575 | 29 cp -a $_pkg/usr/bin $fs/usr |
pankso@1764 | 30 # Torrentbox |
pankso@1764 | 31 cp stuff/torrentbox $fs/usr/bin |
pankso@575 | 32 } |