summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2009-06-28 14:50:42 +0000
committerBen de Groot <yngwin@gentoo.org>2009-06-28 14:50:42 +0000
commit63abbb3c4accc6cd899ca913209d12a17a5ebf64 (patch)
tree858788bc6066783c4198f35a2d4f5101dc293655 /net-libs/rb_libtorrent
parentStable on alpha, bug #275311 (diff)
downloadhistorical-63abbb3c4accc6cd899ca913209d12a17a5ebf64.tar.gz
historical-63abbb3c4accc6cd899ca913209d12a17a5ebf64.tar.bz2
historical-63abbb3c4accc6cd899ca913209d12a17a5ebf64.zip
eapi2ify, check boost python use dep, add doc useflag
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'net-libs/rb_libtorrent')
-rw-r--r--net-libs/rb_libtorrent/ChangeLog13
-rw-r--r--net-libs/rb_libtorrent/Manifest3
-rw-r--r--net-libs/rb_libtorrent/rb_libtorrent-0.14.4-r1.ebuild60
3 files changed, 74 insertions, 2 deletions
diff --git a/net-libs/rb_libtorrent/ChangeLog b/net-libs/rb_libtorrent/ChangeLog
index 965048fdeb2f..e7eb5a805439 100644
--- a/net-libs/rb_libtorrent/ChangeLog
+++ b/net-libs/rb_libtorrent/ChangeLog
@@ -1,6 +1,17 @@
# ChangeLog for net-libs/rb_libtorrent
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v 1.59 2009/06/28 00:02:56 yngwin Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v 1.60 2009/06/28 14:50:42 yngwin Exp $
+
+*rb_libtorrent-0.14.4-r1 (28 Jun 2009)
+
+ 28 Jun 2009; Ben de Groot <yngwin@gentoo.org>
+ +rb_libtorrent-0.14.4-r1.ebuild:
+ Update ebuild for version 0.14.4:
+ - migrate to eapi-2
+ - add doc useflag to install HTML documentation
+ - check for python-enabled boost if USE=python (bug 270608)
+ - add switch for verbose logging if USE=debug (todo from previous
+ revision)
*rb_libtorrent-0.13-r1 (27 Jun 2009)
diff --git a/net-libs/rb_libtorrent/Manifest b/net-libs/rb_libtorrent/Manifest
index a31a82c90b6a..c43d0a99925e 100644
--- a/net-libs/rb_libtorrent/Manifest
+++ b/net-libs/rb_libtorrent/Manifest
@@ -6,6 +6,7 @@ DIST libtorrent-0.13.tar.gz 1502517 RMD160 40b97552ca2b664facf864e48cc09a0cf4d84
DIST libtorrent-rasterbar-0.14.4.tar.gz 1990752 RMD160 6fdb4afb5895e426883a1a6947c04dffed3a5178 SHA1 3494f610ea0a329d33c03d031043476453897acd SHA256 759be15068a9b2186876f3d0c781a63ccb42ad7b959dbd11756c903287cae53c
EBUILD rb_libtorrent-0.13-r1.ebuild 1554 RMD160 20c5a709e06559c9345701974781fc8f128d77fb SHA1 c133db4e306fda435af7e2ab2dc4accffd900a32 SHA256 e5e43a1fbb0d6cfdac38d489e8f1b6f1ce9cdf8542b0b89dccbbecd4100725c8
EBUILD rb_libtorrent-0.13.ebuild 1375 RMD160 29fd7fa11063e4ec0a35b5734a44f82c59c56958 SHA1 b37474a18317328f8821ae276802264736004ce0 SHA256 5addf2c16e9589528a57e0842e9e220888293f8b19a685b4ea218d8f45f4850a
+EBUILD rb_libtorrent-0.14.4-r1.ebuild 1774 RMD160 7391833176f2bb4880f15fba467eeb40a86d7605 SHA1 cb9745e3e6ac1c102d17c6acaa5c1d9ac1f879ea SHA256 0135cbddf46cf0e29fca597dc73e93d3178e16d79d064f684cd2cbeedcbecd54
EBUILD rb_libtorrent-0.14.4.ebuild 1590 RMD160 2bcdc1d9d03cae0cee312fa3cb5d7c89bb57d926 SHA1 20e20eff49d5d3ece87797381685a72687d8e74e SHA256 c2efe1e32c65d546adbd098def8b7ec66071e531196fd3de5df559e0fdd692cc
-MISC ChangeLog 9986 RMD160 6052e89fe320db17862e6a7157e0a166e7f049fe SHA1 cbf6e7934021bac27f4c337f134e1f6c66ea869f SHA256 bd5fbe71d298d8d3d408843f37f42e5ac9b41fc0f3394967d760ba25bbebdee1
+MISC ChangeLog 10360 RMD160 8071602245ca90eb4beaf28dfabbf82700ecb017 SHA1 4429146b320f737875bc51c6359e924f18ce498b SHA256 27d79f771f4c41806d86bc0c11fe81eedc4673e6d54159191ab5be137668105f
MISC metadata.xml 180 RMD160 b3fdae264805d1dbe224d18e30b43cc9379b48c0 SHA1 3ece90b24dcd1ecd3e833660e8094afa809d2d93 SHA256 d4bbc70ee1028611e44086fc0b56d097b6945f22c66750538034bca5bf699f5c
diff --git a/net-libs/rb_libtorrent/rb_libtorrent-0.14.4-r1.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-0.14.4-r1.ebuild
new file mode 100644
index 000000000000..e02dca2b1065
--- /dev/null
+++ b/net-libs/rb_libtorrent/rb_libtorrent-0.14.4-r1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2009 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.14.4-r1.ebuild,v 1.1 2009/06/28 14:50:42 yngwin Exp $
+
+EAPI="2"
+inherit eutils flag-o-matic
+
+MY_P=${P/rb_/}
+MY_P=${MY_P/torrent/torrent-rasterbar}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability"
+HOMEPAGE="http://www.rasterbar.com/products/libtorrent/"
+SRC_URI="mirror://sourceforge/libtorrent/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE="debug doc examples python test"
+
+DEPEND="!net-libs/libtorrent
+ || ( >=dev-libs/boost-1.35
+ ( ~dev-libs/boost-1.34.1 dev-cpp/asio ) )
+ python? ( || ( >=dev-libs/boost-1.35.0-r5[python]
+ =dev-libs/boost-1.35.0-r2 ) )
+ sys-libs/zlib"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ append-ldflags -pthread
+
+ #use multi-threading versions of boost libs
+ local BOOST_LIBS="--with-boost-system=boost_system-mt \
+ --with-boost-asio=boost_system-mt \
+ --with-boost-filesystem=boost_filesystem-mt \
+ --with-boost-thread=boost_thread-mt \
+ --with-boost-regex=boost_regex-mt \
+ --with-boost-python=boost_python-mt \
+ --with-boost-program_options=boost_program_options-mt"
+
+ local LOGGING
+ use debug && LOGGING="--with-logging=verbose"
+
+ econf $(use_enable debug) \
+ $(use_enable test tests) \
+ $(use_enable examples) \
+ $(use_enable python python-binding) \
+ --with-zlib=system \
+ --with-asio=system \
+ ${LOGGING} \
+ ${BOOST_LIBS}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die 'emake install failed'
+ dodoc ChangeLog AUTHORS NEWS README || die 'dodoc failed'
+ if use doc ; then
+ dohtml docs/* || die "Could not install HTML documentation"
+ fi
+}