summaryrefslogtreecommitdiff
path: root/package/rtorrent
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/rtorrent
Initial import
Diffstat (limited to 'package/rtorrent')
-rw-r--r--package/rtorrent/Config.in11
-rw-r--r--package/rtorrent/Makefile27
-rw-r--r--package/rtorrent/ipkg/rtorrent.control5
-rw-r--r--package/rtorrent/patches/patch-configure_ac11
-rw-r--r--package/rtorrent/patches/patch-rak_functional_h12
-rw-r--r--package/rtorrent/patches/patch-src_command_ui_cc12
-rw-r--r--package/rtorrent/patches/patch-src_display_text_element_value_cc12
-rw-r--r--package/rtorrent/patches/patch-src_rpc_parse_cc11
8 files changed, 101 insertions, 0 deletions
diff --git a/package/rtorrent/Config.in b/package/rtorrent/Config.in
new file mode 100644
index 000000000..b46b395ef
--- /dev/null
+++ b/package/rtorrent/Config.in
@@ -0,0 +1,11 @@
+config ADK_PACKAGE_RTORRENT
+ prompt "rtorrent........................... file transfer utility"
+ tristate
+ depends on ADK_CXX
+ select ADK_PACKAGE_LIBNCURSES
+ select ADK_PACKAGE_LIBTORRENT
+ select ADK_PACKAGE_LIBCURL
+ default n
+ help
+ http://rsync.samba.org
+
diff --git a/package/rtorrent/Makefile b/package/rtorrent/Makefile
new file mode 100644
index 000000000..215c99408
--- /dev/null
+++ b/package/rtorrent/Makefile
@@ -0,0 +1,27 @@
+# $Id$
+#-
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include ${TOPDIR}/rules.mk
+
+PKG_NAME:= rtorrent
+PKG_VERSION:= 0.8.2
+PKG_RELEASE:= 1
+PKG_MD5SUM:= a2456182e1767e5aed7341dbbd058f60
+MASTER_SITES:= http://libtorrent.rakshasa.no/downloads/
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,RTORRENT,rtorrent,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+CONFIGURE_STYLE:= autotool gnu
+CONFIGURE_ARGS+= --enable-aligned
+BUILD_STYLE:= auto
+INSTALL_STYLE:= auto
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_RTORRENT}/usr/bin
+ ${CP} ${WRKINST}/usr/bin/* ${IDIR_RTORRENT}/usr/bin
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/rtorrent/ipkg/rtorrent.control b/package/rtorrent/ipkg/rtorrent.control
new file mode 100644
index 000000000..c5da288ec
--- /dev/null
+++ b/package/rtorrent/ipkg/rtorrent.control
@@ -0,0 +1,5 @@
+Package: rtorrent
+Priority: optional
+Section: net
+Depends: libncurses, libtorrent, libcurl
+Description: console torrent application
diff --git a/package/rtorrent/patches/patch-configure_ac b/package/rtorrent/patches/patch-configure_ac
new file mode 100644
index 000000000..a0252588f
--- /dev/null
+++ b/package/rtorrent/patches/patch-configure_ac
@@ -0,0 +1,11 @@
+$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
+--- rtorrent-0.8.2.orig/configure.ac 2008-05-07 14:19:12.000000000 +0200
++++ rtorrent-0.8.2/configure.ac 2008-12-14 22:11:22.000000000 +0100
+@@ -15,7 +15,6 @@ TORRENT_DISABLE_IPV6
+
+ AC_SYS_LARGEFILE
+
+-TORRENT_CHECK_EXECINFO()
+ TORRENT_OTFD()
+
+ TORRENT_ENABLE_ARCH
diff --git a/package/rtorrent/patches/patch-rak_functional_h b/package/rtorrent/patches/patch-rak_functional_h
new file mode 100644
index 000000000..aec145664
--- /dev/null
+++ b/package/rtorrent/patches/patch-rak_functional_h
@@ -0,0 +1,12 @@
+$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
+--- rtorrent-0.8.2.orig/rak/functional.h 2008-05-07 14:19:12.000000000 +0200
++++ rtorrent-0.8.2/rak/functional.h 2008-12-14 22:51:25.000000000 +0100
+@@ -37,6 +37,8 @@
+ #ifndef RAK_FUNCTIONAL_H
+ #define RAK_FUNCTIONAL_H
+
++#include <cstdlib>
++
+ #include <functional>
+
+ namespace rak {
diff --git a/package/rtorrent/patches/patch-src_command_ui_cc b/package/rtorrent/patches/patch-src_command_ui_cc
new file mode 100644
index 000000000..0383d929d
--- /dev/null
+++ b/package/rtorrent/patches/patch-src_command_ui_cc
@@ -0,0 +1,12 @@
+$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
+--- rtorrent-0.8.2.orig/src/command_ui.cc 2008-05-07 14:19:11.000000000 +0200
++++ rtorrent-0.8.2/src/command_ui.cc 2008-12-14 22:56:02.000000000 +0100
+@@ -36,6 +36,8 @@
+
+ #include "config.h"
+
++#include <ctime>
++
+ #include <rak/functional.h>
+ #include <rak/functional_fun.h>
+ #include <sigc++/adaptors/bind.h>
diff --git a/package/rtorrent/patches/patch-src_display_text_element_value_cc b/package/rtorrent/patches/patch-src_display_text_element_value_cc
new file mode 100644
index 000000000..01391f812
--- /dev/null
+++ b/package/rtorrent/patches/patch-src_display_text_element_value_cc
@@ -0,0 +1,12 @@
+$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
+--- rtorrent-0.8.2.orig/src/display/text_element_value.cc 2008-05-07 14:19:11.000000000 +0200
++++ rtorrent-0.8.2/src/display/text_element_value.cc 2008-12-14 22:14:58.000000000 +0100
+@@ -39,6 +39,8 @@
+ #include "globals.h"
+ #include "text_element_value.h"
+
++#include <ctime>
++
+ namespace display {
+
+ // Should be in text_element.cc.
diff --git a/package/rtorrent/patches/patch-src_rpc_parse_cc b/package/rtorrent/patches/patch-src_rpc_parse_cc
new file mode 100644
index 000000000..a84b30475
--- /dev/null
+++ b/package/rtorrent/patches/patch-src_rpc_parse_cc
@@ -0,0 +1,11 @@
+$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
+--- rtorrent-0.8.2.orig/src/rpc/parse.cc 2008-05-07 14:19:10.000000000 +0200
++++ rtorrent-0.8.2/src/rpc/parse.cc 2008-12-14 22:49:04.000000000 +0100
+@@ -37,6 +37,7 @@
+ #include "config.h"
+
+ #include <locale>
++#include <cstring>
+ #include <rak/path.h>
+ #include <torrent/exceptions.h>
+