wok-next rev 20711
Up libtorrent (0.13.6), rtorrent (0.9.6)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun May 27 04:52:59 2018 +0300 (2018-05-27) |
parents | 1e959a3ea09a |
children | 7479c35e3b23 |
files | libtorrent/receipt rtorrent/receipt |
line diff
1.1 --- a/libtorrent/receipt Sun May 27 03:54:42 2018 +0300 1.2 +++ b/libtorrent/receipt Sun May 27 04:52:59 2018 +0300 1.3 @@ -1,23 +1,33 @@ 1.4 # SliTaz package receipt v2. 1.5 1.6 PACKAGE="libtorrent" 1.7 -VERSION="0.13.3" 1.8 +VERSION="0.13.6" 1.9 CATEGORY="network" 1.10 SHORT_DESC="Torrent library for rtorrent" 1.11 MAINTAINER="mimas@slitaz.org" 1.12 LICENSE="GPL2" 1.13 -WEB_SITE="http://libtorrent.rakshasa.no/" 1.14 +WEB_SITE="http://rakshasa.github.io/rtorrent/" 1.15 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WGET_URL="http://libtorrent.rakshasa.no/downloads/$TARBALL" 1.18 +WGET_URL="https://github.com/rakshasa/libtorrent/archive/$VERSION.tar.gz" 1.19 1.20 -BUILD_DEPENDS="curl-dev libsigc++-dev openssl-dev" 1.21 +PATCH_FILE="libtorrent-openssl-1.1.patch" 1.22 +PATCH_URL="https://github.com/rakshasa/libtorrent/commit/4607bbf7.patch" 1.23 + 1.24 +BUILD_DEPENDS="automake libtool zlib-dev openssl-dev" 1.25 SPLIT="libtorrent-dev" 1.26 1.27 -CROSS_BUGS="bug: can not run test program" 1.28 +compile_rules() { 1.29 + [ -e $SRC/$PATCH_FILE ] || wget -O $SRC/$PATCH_FILE $PATCH_URL 1.30 + patch -p1 -i $SRC/$PATCH_FILE 1.31 1.32 -compile_rules() { 1.33 - ./configure $CONFIGURE_ARGS && 1.34 + sed -i '/AM_PATH_CPPUNIT/d' configure.ac 1.35 + ./autogen.sh 1.36 + export CXXFLAGS="$CXXFLAGS -fno-strict-aliasing" 1.37 + 1.38 + ./configure \ 1.39 + --disable-debug \ 1.40 + $CONFIGURE_ARGS && 1.41 fix libtool && 1.42 make && 1.43 make install 1.44 @@ -27,7 +37,7 @@ 1.45 case $PACKAGE in 1.46 libtorrent) 1.47 copy @std 1.48 - DEPENDS="curl libsigc++ openssl" 1.49 + DEPENDS="openssl zlib" 1.50 ;; 1.51 *-dev) 1.52 copy @dev
2.1 --- a/rtorrent/receipt Sun May 27 03:54:42 2018 +0300 2.2 +++ b/rtorrent/receipt Sun May 27 04:52:59 2018 +0300 2.3 @@ -1,32 +1,38 @@ 2.4 -# SliTaz package receipt. 2.5 +# SliTaz package receipt v2. 2.6 2.7 PACKAGE="rtorrent" 2.8 -VERSION="0.9.3" 2.9 +VERSION="0.9.6" 2.10 CATEGORY="network" 2.11 SHORT_DESC="Ncurses based torrent client" 2.12 MAINTAINER="mimas@slitaz.org" 2.13 LICENSE="GPL2" 2.14 +WEB_SITE="http://rakshasa.github.io/rtorrent/" 2.15 + 2.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 2.17 -WEB_SITE="http://libtorrent.rakshasa.no/" 2.18 -WGET_URL="http://libtorrent.rakshasa.no/downloads/$TARBALL" 2.19 -TAGS="torrent" 2.20 +WGET_URL="https://github.com/rakshasa/rtorrent/archive/$VERSION.tar.gz" 2.21 2.22 -DEPENDS="ncurses libtorrent zlib xmlrpc-c gcc-lib-base" 2.23 -BUILD_DEPENDS="ncurses-dev libtorrent-dev libtorrent xmlrpc-c-dev \ 2.24 -libsigc++-dev curl-dev" 2.25 +BUILD_DEPENDS="automake libtool ncurses-dev curl-dev libtorrent-dev \ 2.26 +xmlrpc-c-dev libxml2-dev" 2.27 2.28 -# Rules to configure and make the package. 2.29 -compile_rules() 2.30 -{ 2.31 +compile_rules() { 2.32 + sed -i '/AM_PATH_CPPUNIT/d' configure.ac 2.33 + ./autogen.sh 2.34 + export CXXFLAGS="$CXXFLAGS -fno-strict-aliasing" 2.35 + 2.36 ./configure \ 2.37 --with-xmlrpc-c \ 2.38 + --disable-debug \ 2.39 $CONFIGURE_ARGS && 2.40 - make && make install 2.41 + fix libtool && 2.42 + make && 2.43 + make install || return 1 2.44 + 2.45 + cook_pick_docs doc/rtorrent.rc doc/manual 2.46 + cook_pick_manpages doc/old/rtorrent.1 2.47 } 2.48 2.49 -# Rules to gen a SliTaz package suitable for Tazpkg. 2.50 -genpkg_rules() 2.51 -{ 2.52 - mkdir -p $fs/usr 2.53 - cp -a $install/usr/bin $fs/usr 2.54 +genpkg_rules() { 2.55 + copy @std 2.56 + DEPENDS="libcurl libtorrent ncurses xmlrpc-c" 2.57 + TAGS="torrent" 2.58 }