libtorrent_0.12.0.bb, rtorrent_0.8.0.bb : a small working bittorrent client
authorGraeme Gregory <dp@xora.org.uk>
Mon, 4 Feb 2008 17:13:38 +0000 (17:13 +0000)
committerGraeme Gregory <dp@xora.org.uk>
Mon, 4 Feb 2008 17:13:38 +0000 (17:13 +0000)
ideal for embedded systems. Has advanced features such as PEX and DHT

packages/libtorrent/.mtn2git_empty [new file with mode: 0644]
packages/libtorrent/files/.mtn2git_empty [new file with mode: 0644]
packages/libtorrent/files/autoconf-cross-fix.patch [new file with mode: 0644]
packages/libtorrent/libtorrent_0.12.0.bb [new file with mode: 0644]
packages/libtorrent/rtorrent_0.8.0.bb [new file with mode: 0644]

diff --git a/packages/libtorrent/.mtn2git_empty b/packages/libtorrent/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/libtorrent/files/.mtn2git_empty b/packages/libtorrent/files/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/libtorrent/files/autoconf-cross-fix.patch b/packages/libtorrent/files/autoconf-cross-fix.patch
new file mode 100644 (file)
index 0000000..a8dd3a5
--- /dev/null
@@ -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 (file)
index 0000000..5d71157
--- /dev/null
@@ -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 (file)
index 0000000..9ae0eed
--- /dev/null
@@ -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
+