wok-next annotate rtorrent/receipt @ rev 21143
Small updates.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jan 25 15:37:19 2019 +0200 (2019-01-25) |
parents | 9b776cbcad4e |
children |
rev | line source |
---|---|
al@20711 | 1 # SliTaz package receipt v2. |
mimas@2018 | 2 |
mimas@2018 | 3 PACKAGE="rtorrent" |
al@20711 | 4 VERSION="0.9.6" |
mimas@2018 | 5 CATEGORY="network" |
mimas@2018 | 6 SHORT_DESC="Ncurses based torrent client" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15593 | 8 LICENSE="GPL2" |
al@20711 | 9 WEB_SITE="http://rakshasa.github.io/rtorrent/" |
al@20711 | 10 |
mimas@2018 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20711 | 12 WGET_URL="https://github.com/rakshasa/rtorrent/archive/$VERSION.tar.gz" |
mimas@2018 | 13 |
al@20711 | 14 BUILD_DEPENDS="automake libtool ncurses-dev curl-dev libtorrent-dev \ |
al@20711 | 15 xmlrpc-c-dev libxml2-dev" |
slaxemulator@11157 | 16 |
al@20711 | 17 compile_rules() { |
al@20711 | 18 sed -i '/AM_PATH_CPPUNIT/d' configure.ac |
al@20711 | 19 ./autogen.sh |
al@20711 | 20 export CXXFLAGS="$CXXFLAGS -fno-strict-aliasing" |
al@20711 | 21 |
mimas@2018 | 22 ./configure \ |
slaxemulator@11157 | 23 --with-xmlrpc-c \ |
al@20711 | 24 --disable-debug \ |
pascal@2446 | 25 $CONFIGURE_ARGS && |
al@20711 | 26 fix libtool && |
al@20711 | 27 make && |
al@20711 | 28 make install || return 1 |
al@20711 | 29 |
al@20711 | 30 cook_pick_docs doc/rtorrent.rc doc/manual |
al@20711 | 31 cook_pick_manpages doc/old/rtorrent.1 |
mimas@2018 | 32 } |
mimas@2018 | 33 |
al@20711 | 34 genpkg_rules() { |
al@20711 | 35 copy @std |
al@20711 | 36 DEPENDS="libcurl libtorrent ncurses xmlrpc-c" |
al@20711 | 37 TAGS="torrent" |
mimas@2018 | 38 } |