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

Fix ctorrent-dnh & tfttest
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 14 09:04:04 2021 +0000 (2021-07-14)
parents a28c45a86936
children 1e55ea7da8de
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 DEPENDS="busybox-net libc++ libm libgcc_s"
11 BUILD_DEPENDS="uclibc-cross-compiler-$TARGET"
12 TARBALL="${PACKAGE}$VERSION.tar.gz"
13 WEB_SITE="http://www.rahul.net/dholmes/ctorrent/"
14 WGET_URL="$SF_MIRROR/dtorrent/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure \
20 --prefix=/usr \
21 --with-ssl=no \
22 --host=$TARGET-pc-linux-gnu \
23 CXX=uclibc-$TARGET-c++ \
24 CC=uclibc-$TARGET-cc &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $install/usr/bin $fs/usr
34 }