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

Add geninitramfs & busybox-net
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 28 16:03:43 2020 +0100 (2020-02-28)
parents 371673f39e46
children eb617e43dc08
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"
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 CC=uclibc-$TARGET-cc &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $install/usr/bin $fs/usr
33 }