wok annotate ctorrent-dnh/receipt @ rev 12850
Up: libvlc (2.0.1)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Wed May 23 13:02:13 2012 +0200 (2012-05-23) |
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 } |