wok view ctorrent-dnh/receipt @ rev 5012

rm rpm in for loop to save RAM (thanks Eric)
author Rohit Joshi <jozee@slitaz.org>
date Sun Feb 28 19:50:05 2010 +0000 (2010-02-28)
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 }