wok-tiny annotate 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
rev   line source
pascal@39 1 # SliTaz package receipt.
pascal@39 2
pascal@39 3 PACKAGE="ctorrent-dnh"
pascal@39 4 VERSION="3.3.2"
pascal@39 5 CATEGORY="network"
pascal@39 6 SHORT_DESC="Command line Bittorrent client."
pascal@39 7 MAINTAINER="pankso@slitaz.org"
pascal@90 8 LICENSE="GPL2"
pascal@39 9 [ -n "$TARGET" ] || TARGET="i486"
pascal@157 10 DEPENDS="busybox-net"
pascal@39 11 BUILD_DEPENDS="uclibc-cross-compiler-$TARGET"
pascal@39 12 TARBALL="${PACKAGE}$VERSION.tar.gz"
pascal@39 13 WEB_SITE="http://www.rahul.net/dholmes/ctorrent/"
pascal@39 14 WGET_URL="$SF_MIRROR/dtorrent/$TARBALL"
pascal@39 15
pascal@39 16 # Rules to configure and make the package.
pascal@39 17 compile_rules()
pascal@39 18 {
pascal@39 19 ./configure \
pascal@39 20 --prefix=/usr \
pascal@39 21 --with-ssl=no \
pascal@39 22 --host=$TARGET-pc-linux-gnu \
pascal@39 23 CC=uclibc-$TARGET-cc &&
pascal@94 24 make &&
pascal@94 25 make DESTDIR=$DESTDIR install
pascal@39 26 }
pascal@39 27
pascal@39 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@39 29 genpkg_rules()
pascal@39 30 {
pascal@39 31 mkdir -p $fs/usr
pascal@94 32 cp -a $install/usr/bin $fs/usr
pascal@39 33 }