wok-tiny view ctorrent-dnh/receipt @ rev 90

Add some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 05 13:51:26 2013 +0200 (2013-07-05)
parents aa941f70de5c
children 371673f39e46
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 LICENSE="GPL2"
9 [ -n "$TARGET" ] || TARGET="i486"
10 BUILD_DEPENDS="uclibc-cross-compiler-$TARGET"
11 TARBALL="${PACKAGE}$VERSION.tar.gz"
12 WEB_SITE="http://www.rahul.net/dholmes/ctorrent/"
13 WGET_URL="$SF_MIRROR/dtorrent/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 mv ${PACKAGE}$VERSION $PACKAGE-$VERSION 2>/dev/null
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --with-ssl=no \
23 --host=$TARGET-pc-linux-gnu \
24 CC=uclibc-$TARGET-cc &&
25 make
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $_pkg/usr/bin $fs/usr
34 }