summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Westerhof <mwester@dls.net>2008-02-04 17:23:41 +0000
committerMike Westerhof <mwester@dls.net>2008-02-04 17:23:41 +0000
commitd8e3e49797e8565fae06ac13f1535b876d517f59 (patch)
tree4e01a54e1a9493f593913d95f493d538a0658e61
parent8e0c09c7d6ef8dc1e5d191d8f0c9ee55a659901f (diff)
parent63f313ebf1b7615e7e2ad7f2fb3c294d1e2c709e (diff)
merge of '3828ccf554f5383a7feb13d09fe0f6e67073ef53'
and 'cf5abc7766faffd221ece62edef44865e099d55f'
-rw-r--r--packages/libtorrent/.mtn2git_empty0
-rw-r--r--packages/libtorrent/files/.mtn2git_empty0
-rw-r--r--packages/libtorrent/files/autoconf-cross-fix.patch14
-rw-r--r--packages/libtorrent/libtorrent_0.12.0.bb16
-rw-r--r--packages/libtorrent/rtorrent_0.8.0.bb11
5 files changed, 41 insertions, 0 deletions
diff --git a/packages/libtorrent/.mtn2git_empty b/packages/libtorrent/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/libtorrent/.mtn2git_empty
diff --git a/packages/libtorrent/files/.mtn2git_empty b/packages/libtorrent/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/libtorrent/files/.mtn2git_empty
diff --git a/packages/libtorrent/files/autoconf-cross-fix.patch b/packages/libtorrent/files/autoconf-cross-fix.patch
new file mode 100644
index 0000000000..a8dd3a5b76
--- /dev/null
+++ b/packages/libtorrent/files/autoconf-cross-fix.patch
@@ -0,0 +1,14 @@
+Index: rtorrent-0.8.0/scripts/common.m4
+===================================================================
+--- rtorrent-0.8.0.orig/scripts/common.m4 2008-01-13 15:02:03.000000000 +0000
++++ rtorrent-0.8.0/scripts/common.m4 2008-02-04 13:12:01.000000000 +0000
+@@ -192,6 +192,9 @@
+ AC_DEFINE(USE_EXECINFO, 1, Use execinfo.h)
+ ], [
+ AC_MSG_RESULT(no)
++ ], [
++ AC_MSG_RESULT(yes)
++ AC_DEFINE(USE_EXECINFO, 1, Use execinfo.h)
+ ])
+ ])
+
diff --git a/packages/libtorrent/libtorrent_0.12.0.bb b/packages/libtorrent/libtorrent_0.12.0.bb
new file mode 100644
index 0000000000..5d711578ed
--- /dev/null
+++ b/packages/libtorrent/libtorrent_0.12.0.bb
@@ -0,0 +1,16 @@
+DESCRIPTION = "library implementing the bittorrent protocol"
+HOMEPAGE = "http://libtorrent.rakshasa.no"
+SECTION = "libs/network"
+LICENSE = "GPL"
+DEPENDS = "libsigc++-2.0 openssl"
+
+SRC_URI = "http://libtorrent.rakshasa.no/downloads/libtorrent-${PV}.tar.gz"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = "--enable-aligned"
+
+do_stage() {
+ autotools_stage_all
+}
+
diff --git a/packages/libtorrent/rtorrent_0.8.0.bb b/packages/libtorrent/rtorrent_0.8.0.bb
new file mode 100644
index 0000000000..9ae0eed011
--- /dev/null
+++ b/packages/libtorrent/rtorrent_0.8.0.bb
@@ -0,0 +1,11 @@
+DESCRIPTION = "Console bittorrent client using libtorrent"
+HOMEPAGE = "http://libtorrent.rakshasa.no"
+SECTION = "libs/network"
+LICENSE = "GPL"
+DEPENDS = "libtorrent curl ncurses gnutls libgpg-error"
+
+SRC_URI = "http://libtorrent.rakshasa.no/downloads/rtorrent-${PV}.tar.gz \
+ file://autoconf-cross-fix.patch;patch=1"
+
+inherit autotools
+