wok-next view rtorrent/receipt @ rev 21529

updated buildroot (2014.08 -> 2020.05)
author Hans-G?nter Theisgen
date Sat Jun 20 16:34:10 2020 +0100 (2020-06-20)
parents 9b776cbcad4e
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="rtorrent"
4 VERSION="0.9.6"
5 CATEGORY="network"
6 SHORT_DESC="Ncurses based torrent client"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://rakshasa.github.io/rtorrent/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/rakshasa/rtorrent/archive/$VERSION.tar.gz"
14 BUILD_DEPENDS="automake libtool ncurses-dev curl-dev libtorrent-dev \
15 xmlrpc-c-dev libxml2-dev"
17 compile_rules() {
18 sed -i '/AM_PATH_CPPUNIT/d' configure.ac
19 ./autogen.sh
20 export CXXFLAGS="$CXXFLAGS -fno-strict-aliasing"
22 ./configure \
23 --with-xmlrpc-c \
24 --disable-debug \
25 $CONFIGURE_ARGS &&
26 fix libtool &&
27 make &&
28 make install || return 1
30 cook_pick_docs doc/rtorrent.rc doc/manual
31 cook_pick_manpages doc/old/rtorrent.1
32 }
34 genpkg_rules() {
35 copy @std
36 DEPENDS="libcurl libtorrent ncurses xmlrpc-c"
37 TAGS="torrent"
38 }