wok-stable view ctorrent-dnh/receipt @ rev 5160

tazdev: add new cmd in usage
author Christophe Lincoln <pankso@slitaz.org>
date Wed Mar 24 21:48:38 2010 +0100 (2010-03-24)
parents ef771ca92a97
children a1644dbcf632
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 TARBALL="${PACKAGE}$VERSION.tar.gz"
9 WEB_SITE="http://www.rahul.net/dholmes/ctorrent/"
10 WGET_URL="$SF_MIRROR/dtorrent/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 mv ${PACKAGE}$VERSION $PACKAGE-$VERSION 2>/dev/null
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 --with-ssl=no \
20 $CONFIGURE_ARGS
21 make
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/bin $fs/usr
30 # Torrentbox
31 cp stuff/torrentbox $fs/usr/bin
32 }