wok-current annotate rtorrent/receipt @ rev 4181
Fix: update libtorrent () 0.12.5 and rtorrent (0.8.5) various fix + build with gcc-4.x
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Sep 23 01:14:41 2009 +0200 (2009-09-23) |
parents | 84cda1c7ccc7 |
children | 8be66f03fbd2 |
rev | line source |
---|---|
mimas@2018 | 1 # SliTaz package receipt. |
mimas@2018 | 2 |
mimas@2018 | 3 PACKAGE="rtorrent" |
pankso@4181 | 4 VERSION="0.8.5" |
mimas@2018 | 5 CATEGORY="network" |
mimas@2018 | 6 SHORT_DESC="Ncurses based torrent client" |
mimas@2018 | 7 MAINTAINER="mimas@slitaz.org" |
pascal@2446 | 8 DEPENDS="ncurses libtorrent zlib" |
pascal@2450 | 9 BUILD_DEPENDS="ncurses-dev libtorrent-dev libtorrent" |
mimas@2018 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
mimas@2018 | 11 WEB_SITE="http://libtorrent.rakshasa.no/" |
mimas@2018 | 12 WGET_URL="http://libtorrent.rakshasa.no/downloads/$TARBALL" |
mimas@2018 | 13 |
mimas@2018 | 14 # Rules to configure and make the package. |
mimas@2018 | 15 compile_rules() |
mimas@2018 | 16 { |
mimas@2018 | 17 cd $src |
mimas@2018 | 18 ./configure \ |
mimas@2018 | 19 --prefix=/usr \ |
mimas@2018 | 20 --infodir=/usr/share/info \ |
mimas@2018 | 21 --mandir=/usr/share/man \ |
pascal@2446 | 22 $CONFIGURE_ARGS && |
pascal@2446 | 23 make && |
mimas@2018 | 24 make DESTDIR=$PWD/_pkg install |
mimas@2018 | 25 } |
mimas@2018 | 26 |
mimas@2018 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
mimas@2018 | 28 genpkg_rules() |
mimas@2018 | 29 { |
mimas@2018 | 30 mkdir -p $fs/usr |
mimas@2018 | 31 cp -a $_pkg/usr/bin $fs/usr |
mimas@2018 | 32 strip -s $fs/usr/bin/* |
mimas@2018 | 33 } |
mimas@2018 | 34 |