Gentoo Archives: gentoo-commits

From: "Markos Chandras (hwoarang)" <hwoarang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/rb_libtorrent: ChangeLog rb_libtorrent-0.15.4.ebuild
Date: Tue, 05 Oct 2010 20:03:15
Message-Id: 20101005190916.2D99220051@flycatcher.gentoo.org
1 hwoarang 10/10/05 19:09:16
2
3 Modified: ChangeLog
4 Added: rb_libtorrent-0.15.4.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.2_rc86/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.92 net-libs/rb_libtorrent/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rb_libtorrent/ChangeLog?rev=1.92&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rb_libtorrent/ChangeLog?rev=1.92&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rb_libtorrent/ChangeLog?r1=1.91&r2=1.92
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v
20 retrieving revision 1.91
21 retrieving revision 1.92
22 diff -u -r1.91 -r1.92
23 --- ChangeLog 8 Sep 2010 23:03:43 -0000 1.91
24 +++ ChangeLog 5 Oct 2010 19:09:16 -0000 1.92
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-libs/rb_libtorrent
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v 1.91 2010/09/08 23:03:43 hwoarang Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v 1.92 2010/10/05 19:09:16 hwoarang Exp $
30 +
31 +*rb_libtorrent-0.15.4 (05 Oct 2010)
32 +
33 + 05 Oct 2010; Markos Chandras <hwoarang@g.o>
34 + +rb_libtorrent-0.15.4.ebuild:
35 + Version bump
36
37 *rb_libtorrent-0.15.3 (08 Sep 2010)
38 *rb_libtorrent-0.14.12 (08 Sep 2010)
39
40
41
42 1.1 net-libs/rb_libtorrent/rb_libtorrent-0.15.4.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.15.4.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.15.4.ebuild?rev=1.1&content-type=text/plain
46
47 Index: rb_libtorrent-0.15.4.ebuild
48 ===================================================================
49 # Copyright 1999-2010 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.15.4.ebuild,v 1.1 2010/10/05 19:09:16 hwoarang Exp $
52
53 EAPI="2"
54 inherit eutils versionator
55
56 MY_P=${P/rb_/}
57 MY_P=${MY_P/torrent/torrent-rasterbar}
58 S=${WORKDIR}/${MY_P}
59
60 DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability"
61 HOMEPAGE="http://www.rasterbar.com/products/libtorrent/"
62 SRC_URI="http://libtorrent.googlecode.com/files/${MY_P}.tar.gz"
63
64 LICENSE="BSD"
65 SLOT="0"
66 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd"
67 IUSE="debug doc examples python"
68 RESTRICT="test"
69
70 DEPEND="|| ( >=dev-libs/boost-1.35
71 ( ~dev-libs/boost-1.34.1 dev-cpp/asio ) )
72 python? ( >=dev-libs/boost-1.35.0-r5[python] dev-lang/python:2.6[threads] )
73 =sys-devel/libtool-2.2*
74 sys-libs/zlib
75 examples? ( !net-p2p/mldonkey )" #292998
76 RDEPEND="${DEPEND}"
77
78 src_configure() {
79 # use multi-threading versions of boost libs
80 local BOOST_LIBS="--with-boost-system=boost_system-mt \
81 --with-boost-filesystem=boost_filesystem-mt \
82 --with-boost-thread=boost_thread-mt \
83 --with-boost-python=boost_python-mt"
84
85 # detect boost version and location, bug 295474
86 BOOST_PKG="$(best_version ">=dev-libs/boost-1.34.1")"
87 BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")"
88 BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")"
89 BOOST_INC="/usr/include/boost-${BOOST_VER}"
90 BOOST_LIB="/usr/$(get_libdir)/boost-${BOOST_VER}"
91
92 local LOGGING
93 use debug && LOGGING="--with-logging=verbose"
94
95 econf $(use_enable debug) \
96 $(use_enable test tests) \
97 $(use_enable examples) \
98 $(use_enable python python-binding) \
99 --with-zlib=system \
100 ${LOGGING} \
101 --with-boost=${BOOST_INC} \
102 --with-boost-libdir=${BOOST_LIB} \
103 ${BOOST_LIBS}
104 }
105
106 src_install() {
107 emake DESTDIR="${D}" install || die 'emake install failed'
108 dodoc ChangeLog AUTHORS NEWS README || die 'dodoc failed'
109 if use doc ; then
110 dohtml docs/* || die "Could not install HTML documentation"
111 fi
112 }