wok-next view rtorrent/receipt @ rev 20845

Add neofetch, tcl2c-fork; build two versions of tklauncher (using tcl2c and tcl2c-fork) with different warnings
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jun 23 09:45:42 2018 +0300 (2018-06-23)
parents d43bf7aae921
children d5aab818505e
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="mimas@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 }