New ebuild, bug 148667
authorRaúl Porcel <armin76@gentoo.org>
Mon, 8 Jan 2007 18:05:27 +0000 (18:05 +0000)
committerRaúl Porcel <armin76@gentoo.org>
Mon, 8 Jan 2007 18:05:27 +0000 (18:05 +0000)
Package-Manager: portage-2.1.1-r2

net-libs/rb_libtorrent/ChangeLog [new file with mode: 0644]
net-libs/rb_libtorrent/Manifest [new file with mode: 0644]
net-libs/rb_libtorrent/files/digest-rb_libtorrent-0.11 [new file with mode: 0644]
net-libs/rb_libtorrent/metadata.xml [new file with mode: 0644]
net-libs/rb_libtorrent/rb_libtorrent-0.11.ebuild [new file with mode: 0644]

diff --git a/net-libs/rb_libtorrent/ChangeLog b/net-libs/rb_libtorrent/ChangeLog
new file mode 100644 (file)
index 0000000..ce74bcf
--- /dev/null
@@ -0,0 +1,9 @@
+# ChangeLog for net-libs/rb_libtorrent
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v 1.1 2007/01/08 18:05:27 armin76 Exp $
+
+*rb_libtorrent-0.11 (08 Jan 2007)
+
+  08 Jan 2007; <armin@gentoo.org> +metadata.xml, +rb_libtorrent-0.11.ebuild:
+  New ebuild, from bug 148667
+
diff --git a/net-libs/rb_libtorrent/Manifest b/net-libs/rb_libtorrent/Manifest
new file mode 100644 (file)
index 0000000..3f810dc
--- /dev/null
@@ -0,0 +1,16 @@
+DIST libtorrent-0.11.tar.gz 1130537 RMD160 24e871a048fd085e24c60f1eaece6cd432d4d64b SHA1 166a2efc907b0b589ed3eb1e10c79c81c183d314 SHA256 f350e0af6b42c2cdb1f19008b00fe5f0b70236817f532a94bcb1e3ef6ebba0d7
+EBUILD rb_libtorrent-0.11.ebuild 1105 RMD160 80b96ce6eaffce84134ae76cbcc796225e8c7b10 SHA1 1db9759675d78f4189a6a5368e7156e52d6b27aa SHA256 d215511ab134c93d0318e03ee9779001ade384911a9a43ed2fa5e1f13ee9c867
+MD5 06abbc757223d512be8a4caf83a44067 rb_libtorrent-0.11.ebuild 1105
+RMD160 80b96ce6eaffce84134ae76cbcc796225e8c7b10 rb_libtorrent-0.11.ebuild 1105
+SHA256 d215511ab134c93d0318e03ee9779001ade384911a9a43ed2fa5e1f13ee9c867 rb_libtorrent-0.11.ebuild 1105
+MISC ChangeLog 361 RMD160 090da986586baeff13346121d530090b52bc22a8 SHA1 70c163dc1ed6fd0c3de10c38e0111575215e8703 SHA256 cb0c400a098b8f48ba4427a7dcb6fe024ddc504f55a0622463c66b4a23bc8291
+MD5 532e6a3e080a2851ceb436db5c72c28a ChangeLog 361
+RMD160 090da986586baeff13346121d530090b52bc22a8 ChangeLog 361
+SHA256 cb0c400a098b8f48ba4427a7dcb6fe024ddc504f55a0622463c66b4a23bc8291 ChangeLog 361
+MISC metadata.xml 222 RMD160 0dc4b04f31dcc89402f87c352327fe327b3cf31f SHA1 540337d5841f15b43186e5858f9e24032567de08 SHA256 713b9d1548682d5c1c3686a7b0711acf065a8fa4f386883ace90359d3dceb966
+MD5 5d4724517f1e88f93621f26ca38ec719 metadata.xml 222
+RMD160 0dc4b04f31dcc89402f87c352327fe327b3cf31f metadata.xml 222
+SHA256 713b9d1548682d5c1c3686a7b0711acf065a8fa4f386883ace90359d3dceb966 metadata.xml 222
+MD5 38eb6b8bc51d925fe4f9bb722897f1c7 files/digest-rb_libtorrent-0.11 250
+RMD160 a97d5e70223031b6cdae301a4b6ffd80641b4974 files/digest-rb_libtorrent-0.11 250
+SHA256 6600a0e98146b1adaa9c3be32f40fd8bf7866584f947104ee9392943909c3dca files/digest-rb_libtorrent-0.11 250
diff --git a/net-libs/rb_libtorrent/files/digest-rb_libtorrent-0.11 b/net-libs/rb_libtorrent/files/digest-rb_libtorrent-0.11
new file mode 100644 (file)
index 0000000..95d3f3d
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 56e9071b95a6e3f9377121f2fead3499 libtorrent-0.11.tar.gz 1130537
+RMD160 24e871a048fd085e24c60f1eaece6cd432d4d64b libtorrent-0.11.tar.gz 1130537
+SHA256 f350e0af6b42c2cdb1f19008b00fe5f0b70236817f532a94bcb1e3ef6ebba0d7 libtorrent-0.11.tar.gz 1130537
diff --git a/net-libs/rb_libtorrent/metadata.xml b/net-libs/rb_libtorrent/metadata.xml
new file mode 100644 (file)
index 0000000..205954e
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>net-p2p</herd>
+<maintainer>
+ <email>armin76@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/net-libs/rb_libtorrent/rb_libtorrent-0.11.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-0.11.ebuild
new file mode 100644 (file)
index 0000000..338222d
--- /dev/null
@@ -0,0 +1,41 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.11.ebuild,v 1.1 2007/01/08 18:05:27 armin76 Exp $
+
+WANT_AUTOCONF="latest"
+WANT_AUTOMAKE="latest"
+inherit eutils autotools
+
+MY_P="${P/rb_/}"
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="BitTorrent library written in C++ for *nix."
+HOMEPAGE="http://www.rasterbar.com/products/libtorrent/"
+SRC_URI="mirror://sourceforge/libtorrent/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+DEPEND="dev-libs/boost
+       !net-libs/libtorrent"
+RDEPEND="${DEPEND}"
+
+
+pkg_setup() {
+       # We need boost built with threads
+       if ! built_with_use "dev-libs/boost" threads && ! built_with_use "dev-libs/boost" threadsonly ; then
+               die "rb_libtorrent needs dev-libs/boost built with threads or threadsonly USE flag"
+       fi
+}
+
+src_compile() {
+       econf $(use_enable debug) || die "econf failed"
+       emake || die "emake failed"
+}
+
+src_install() {
+       emake DESTDIR="${D}" install || die "emake install failed"
+       dodoc ChangeLog AUTHORS NEWS README
+}