wok-6.x view ctorrent-dnh/receipt @ rev 13748

Add gujin
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 31 12:06:08 2012 +0100 (2012-12-31)
parents 67ac2aebcfad
children a436a235f098
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 }