wok-next diff 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 diff
1.1 --- a/rtorrent/receipt Wed Mar 21 15:58:17 2018 +0200 1.2 +++ b/rtorrent/receipt Sat Jun 23 09:45:42 2018 +0300 1.3 @@ -1,32 +1,38 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="rtorrent" 1.8 -VERSION="0.9.3" 1.9 +VERSION="0.9.6" 1.10 CATEGORY="network" 1.11 SHORT_DESC="Ncurses based torrent client" 1.12 MAINTAINER="mimas@slitaz.org" 1.13 LICENSE="GPL2" 1.14 +WEB_SITE="http://rakshasa.github.io/rtorrent/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WEB_SITE="http://libtorrent.rakshasa.no/" 1.18 -WGET_URL="http://libtorrent.rakshasa.no/downloads/$TARBALL" 1.19 -TAGS="torrent" 1.20 +WGET_URL="https://github.com/rakshasa/rtorrent/archive/$VERSION.tar.gz" 1.21 1.22 -DEPENDS="ncurses libtorrent zlib xmlrpc-c gcc-lib-base" 1.23 -BUILD_DEPENDS="ncurses-dev libtorrent-dev libtorrent xmlrpc-c-dev \ 1.24 -libsigc++-dev curl-dev" 1.25 +BUILD_DEPENDS="automake libtool ncurses-dev curl-dev libtorrent-dev \ 1.26 +xmlrpc-c-dev libxml2-dev" 1.27 1.28 -# Rules to configure and make the package. 1.29 -compile_rules() 1.30 -{ 1.31 +compile_rules() { 1.32 + sed -i '/AM_PATH_CPPUNIT/d' configure.ac 1.33 + ./autogen.sh 1.34 + export CXXFLAGS="$CXXFLAGS -fno-strict-aliasing" 1.35 + 1.36 ./configure \ 1.37 --with-xmlrpc-c \ 1.38 + --disable-debug \ 1.39 $CONFIGURE_ARGS && 1.40 - make && make install 1.41 + fix libtool && 1.42 + make && 1.43 + make install || return 1 1.44 + 1.45 + cook_pick_docs doc/rtorrent.rc doc/manual 1.46 + cook_pick_manpages doc/old/rtorrent.1 1.47 } 1.48 1.49 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.50 -genpkg_rules() 1.51 -{ 1.52 - mkdir -p $fs/usr 1.53 - cp -a $install/usr/bin $fs/usr 1.54 +genpkg_rules() { 1.55 + copy @std 1.56 + DEPENDS="libcurl libtorrent ncurses xmlrpc-c" 1.57 + TAGS="torrent" 1.58 }