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

busybox/mdev: restore /sys layout
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 13 19:09:32 2017 +0200 (2017-04-13)
parents a6d2ddc65590
children a28c45a86936
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 ./configure \
19 --prefix=/usr \
20 --with-ssl=no \
21 --host=$TARGET-pc-linux-gnu \
22 CC=uclibc-$TARGET-cc &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $install/usr/bin $fs/usr
32 }