wok-6.x annotate ctorrent-dnh/receipt @ rev 9806
flac: fix stuff path
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat May 14 22:46:14 2011 +0200 (2011-05-14) |
parents | 67ac2aebcfad |
children | a436a235f098 |
rev | line source |
---|---|
pankso@575 | 1 # SliTaz package receipt. |
pankso@575 | 2 |
pankso@575 | 3 PACKAGE="ctorrent-dnh" |
pankso@1764 | 4 VERSION="3.3.2" |
pankso@575 | 5 CATEGORY="network" |
pankso@575 | 6 SHORT_DESC="Command line Bittorrent client." |
pankso@575 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@1764 | 8 TARBALL="${PACKAGE}$VERSION.tar.gz" |
pankso@575 | 9 WEB_SITE="http://www.rahul.net/dholmes/ctorrent/" |
pankso@1764 | 10 WGET_URL="$SF_MIRROR/dtorrent/$TARBALL" |
pankso@575 | 11 |
pankso@575 | 12 # Rules to configure and make the package. |
pankso@575 | 13 compile_rules() |
pankso@575 | 14 { |
pankso@1764 | 15 mv ${PACKAGE}$VERSION $PACKAGE-$VERSION 2>/dev/null |
pankso@575 | 16 cd $src |
pankso@575 | 17 ./configure \ |
pankso@575 | 18 --prefix=/usr \ |
pankso@575 | 19 --with-ssl=no \ |
pankso@575 | 20 $CONFIGURE_ARGS |
pankso@575 | 21 make |
pankso@575 | 22 make DESTDIR=$PWD/_pkg install |
pankso@575 | 23 } |
pankso@575 | 24 |
pankso@575 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@575 | 26 genpkg_rules() |
pankso@575 | 27 { |
pankso@575 | 28 mkdir -p $fs/usr |
pankso@575 | 29 cp -a $_pkg/usr/bin $fs/usr |
pankso@1764 | 30 # Torrentbox |
pankso@9697 | 31 cp $stuff/torrentbox $fs/usr/bin |
pankso@575 | 32 } |