wok-tiny annotate ctorrent-dnh/receipt @ rev 183
linux: fix bundle.S
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 26 17:09:38 2023 +0000 (8 months ago) |
parents | eb617e43dc08 |
children |
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@183 | 6 GROUP="network" |
pascal@39 | 7 SHORT_DESC="Command line Bittorrent client." |
pascal@39 | 8 MAINTAINER="pankso@slitaz.org" |
pascal@90 | 9 LICENSE="GPL2" |
pascal@39 | 10 [ -n "$TARGET" ] || TARGET="i486" |
pascal@173 | 11 DEPENDS="busybox-net libc++ libm libgcc_s" |
pascal@39 | 12 BUILD_DEPENDS="uclibc-cross-compiler-$TARGET" |
pascal@39 | 13 TARBALL="${PACKAGE}$VERSION.tar.gz" |
pascal@39 | 14 WEB_SITE="http://www.rahul.net/dholmes/ctorrent/" |
pascal@39 | 15 WGET_URL="$SF_MIRROR/dtorrent/$TARBALL" |
pascal@39 | 16 |
pascal@39 | 17 # Rules to configure and make the package. |
pascal@39 | 18 compile_rules() |
pascal@39 | 19 { |
pascal@39 | 20 ./configure \ |
pascal@39 | 21 --prefix=/usr \ |
pascal@39 | 22 --with-ssl=no \ |
pascal@39 | 23 --host=$TARGET-pc-linux-gnu \ |
pascal@173 | 24 CXX=uclibc-$TARGET-c++ \ |
pascal@39 | 25 CC=uclibc-$TARGET-cc && |
pascal@94 | 26 make && |
pascal@94 | 27 make DESTDIR=$DESTDIR install |
pascal@39 | 28 } |
pascal@39 | 29 |
pascal@39 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@39 | 31 genpkg_rules() |
pascal@39 | 32 { |
pascal@39 | 33 mkdir -p $fs/usr |
pascal@94 | 34 cp -a $install/usr/bin $fs/usr |
pascal@39 | 35 } |