wok-current annotate rtorrent/receipt @ rev 16560
Add sz81
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 01 08:30:04 2014 +0000 (2014-05-01) |
parents | 1ae5963f23df |
children | ae84e29836bb |
rev | line source |
---|---|
mimas@2018 | 1 # SliTaz package receipt. |
mimas@2018 | 2 |
mimas@2018 | 3 PACKAGE="rtorrent" |
slaxemulator@11157 | 4 VERSION="0.8.9" |
mimas@2018 | 5 CATEGORY="network" |
mimas@2018 | 6 SHORT_DESC="Ncurses based torrent client" |
mimas@2018 | 7 MAINTAINER="mimas@slitaz.org" |
pascal@15593 | 8 LICENSE="GPL2" |
mimas@2018 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
mimas@2018 | 10 WEB_SITE="http://libtorrent.rakshasa.no/" |
mimas@2018 | 11 WGET_URL="http://libtorrent.rakshasa.no/downloads/$TARBALL" |
jozee@4972 | 12 TAGS="torrent" |
mimas@2018 | 13 |
slaxemulator@11157 | 14 DEPENDS="ncurses libtorrent zlib ncursesw xmlrpc-c gcc-lib-base" |
slaxemulator@11157 | 15 BUILD_DEPENDS="ncurses-dev libtorrent-dev libtorrent pkg-config xmlrpc-c-dev \ |
slaxemulator@11157 | 16 libsigc++-dev curl-dev" |
slaxemulator@11157 | 17 |
mimas@2018 | 18 # Rules to configure and make the package. |
mimas@2018 | 19 compile_rules() |
mimas@2018 | 20 { |
mimas@2018 | 21 cd $src |
pascal@15110 | 22 export LDFLAGS="-Wl,--copy-dt-needed-entries -lpthread" |
mimas@2018 | 23 ./configure \ |
slaxemulator@11157 | 24 --with-xmlrpc-c \ |
pascal@2446 | 25 $CONFIGURE_ARGS && |
slaxemulator@11157 | 26 make && make install |
mimas@2018 | 27 } |
mimas@2018 | 28 |
mimas@2018 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
mimas@2018 | 30 genpkg_rules() |
mimas@2018 | 31 { |
mimas@2018 | 32 mkdir -p $fs/usr |
slaxemulator@11157 | 33 cp -a $install/usr/bin $fs/usr |
mimas@2018 | 34 } |
mimas@2018 | 35 |