diff options
Diffstat (limited to 'package/rtorrent')
-rw-r--r-- | package/rtorrent/Makefile | 9 | ||||
-rw-r--r-- | package/rtorrent/patches/patch-configure | 41 | ||||
-rw-r--r-- | package/rtorrent/patches/patch-configure_ac | 18 |
3 files changed, 23 insertions, 45 deletions
diff --git a/package/rtorrent/Makefile b/package/rtorrent/Makefile index a0659476b..7daaa6443 100644 --- a/package/rtorrent/Makefile +++ b/package/rtorrent/Makefile @@ -4,13 +4,13 @@ include ${TOPDIR}/rules.mk PKG_NAME:= rtorrent -PKG_VERSION:= 0.9.0 +PKG_VERSION:= 0.9.2 PKG_RELEASE:= 1 -PKG_MD5SUM:= 9bc258d7a63dd13e3348f310ae26a434 +PKG_MD5SUM:= 72c3e9ab859bda7cc8aa96c0b508b09f PKG_DESCR:= console torrent application PKG_SECTION:= p2p PKG_DEPENDS:= libncurses libtorrent libcurl libstdcxx -PKG_BUILDDEP:= ncurses libtorrent curl +PKG_BUILDDEP:= autotool ncurses libtorrent curl PKG_URL:= http://libtorrent.rakshasa.no/ PKG_SITES:= http://libtorrent.rakshasa.no/downloads/ @@ -18,7 +18,8 @@ PKG_ARCH_DEPENDS:= !avr32 include ${TOPDIR}/mk/package.mk -TARGET_LDFLAGS+= -lpthread +AUTOTOOL_STYLE:= autoreconf +TARGET_LDFLAGS+= -lpthread -ltinfo $(eval $(call PKG_template,RTORRENT,rtorrent,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) diff --git a/package/rtorrent/patches/patch-configure b/package/rtorrent/patches/patch-configure deleted file mode 100644 index 833360f24..000000000 --- a/package/rtorrent/patches/patch-configure +++ /dev/null @@ -1,41 +0,0 @@ ---- rtorrent-0.9.0.orig/configure 2011-12-10 13:32:44.000000000 +0100 -+++ rtorrent-0.9.0/configure 2012-03-22 21:14:03.805634594 +0100 -@@ -15442,38 +15442,6 @@ fi - - - -- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for execinfo.h" >&5 --$as_echo_n "checking for execinfo.h... " >&6; } -- -- if test "$cross_compiling" = yes; then : -- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 --$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} --as_fn_error $? "cannot run test program while cross compiling --See \`config.log' for more details" "$LINENO" 5; } --else -- cat confdefs.h - <<_ACEOF >conftest.$ac_ext --/* end confdefs.h. */ --#include <execinfo.h> -- int main() { backtrace((void**)0, 0); backtrace_symbols((char**)0, 0); return 0;} -- --_ACEOF --if ac_fn_c_try_run "$LINENO"; then : -- -- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 --$as_echo "yes" >&6; } -- --$as_echo "#define USE_EXECINFO 1" >>confdefs.h -- -- --else -- -- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 --$as_echo "no" >&6; } -- --fi --rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ -- conftest.$ac_objext conftest.beam conftest.$ac_ext --fi - - - diff --git a/package/rtorrent/patches/patch-configure_ac b/package/rtorrent/patches/patch-configure_ac new file mode 100644 index 000000000..975e059cf --- /dev/null +++ b/package/rtorrent/patches/patch-configure_ac @@ -0,0 +1,18 @@ +--- rtorrent-0.9.2.orig/configure.ac 2012-04-20 08:55:30.000000000 +0200 ++++ rtorrent-0.9.2/configure.ac 2014-01-13 12:54:40.000000000 +0100 +@@ -4,7 +4,6 @@ AC_DEFINE(API_VERSION, 6, api version) + + AM_INIT_AUTOMAKE + AM_CONFIG_HEADER(config.h) +-AM_PATH_CPPUNIT(1.9.6) + + AC_PROG_CXX + AC_PROG_LIBTOOL +@@ -20,7 +19,6 @@ TORRENT_DISABLE_IPV6 + + AC_SYS_LARGEFILE + +-TORRENT_CHECK_EXECINFO() + TORRENT_OTFD() + + TORRENT_ENABLE_ARCH |