Gentoo Archives: gentoo-commits

From: "Ben de Groot (yngwin)" <yngwin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/rb_libtorrent: ChangeLog rb_libtorrent-0.14.4-r1.ebuild
Date: Sun, 28 Jun 2009 14:50:44
Message-Id: E1MKviM-0001Y3-AI@stork.gentoo.org
1 yngwin 09/06/28 14:50:42
2
3 Modified: ChangeLog
4 Added: rb_libtorrent-0.14.4-r1.ebuild
5 Log:
6 eapi2ify, check boost python use dep, add doc useflag
7 (Portage version: 2.2_rc33/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.60 net-libs/rb_libtorrent/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/ChangeLog?rev=1.60&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/ChangeLog?rev=1.60&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/ChangeLog?r1=1.59&r2=1.60
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v
19 retrieving revision 1.59
20 retrieving revision 1.60
21 diff -u -r1.59 -r1.60
22 --- ChangeLog 28 Jun 2009 00:02:56 -0000 1.59
23 +++ ChangeLog 28 Jun 2009 14:50:42 -0000 1.60
24 @@ -1,6 +1,17 @@
25 # ChangeLog for net-libs/rb_libtorrent
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v 1.59 2009/06/28 00:02:56 yngwin Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v 1.60 2009/06/28 14:50:42 yngwin Exp $
29 +
30 +*rb_libtorrent-0.14.4-r1 (28 Jun 2009)
31 +
32 + 28 Jun 2009; Ben de Groot <yngwin@g.o>
33 + +rb_libtorrent-0.14.4-r1.ebuild:
34 + Update ebuild for version 0.14.4:
35 + - migrate to eapi-2
36 + - add doc useflag to install HTML documentation
37 + - check for python-enabled boost if USE=python (bug 270608)
38 + - add switch for verbose logging if USE=debug (todo from previous
39 + revision)
40
41 *rb_libtorrent-0.13-r1 (27 Jun 2009)
42
43
44
45
46 1.1 net-libs/rb_libtorrent/rb_libtorrent-0.14.4-r1.ebuild
47
48 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.14.4-r1.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.14.4-r1.ebuild?rev=1.1&content-type=text/plain
50
51 Index: rb_libtorrent-0.14.4-r1.ebuild
52 ===================================================================
53 # Copyright 1999-2009 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $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 $
56
57 EAPI="2"
58 inherit eutils flag-o-matic
59
60 MY_P=${P/rb_/}
61 MY_P=${MY_P/torrent/torrent-rasterbar}
62 S=${WORKDIR}/${MY_P}
63
64 DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability"
65 HOMEPAGE="http://www.rasterbar.com/products/libtorrent/"
66 SRC_URI="mirror://sourceforge/libtorrent/${MY_P}.tar.gz"
67
68 LICENSE="BSD"
69 SLOT="0"
70 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
71 IUSE="debug doc examples python test"
72
73 DEPEND="!net-libs/libtorrent
74 || ( >=dev-libs/boost-1.35
75 ( ~dev-libs/boost-1.34.1 dev-cpp/asio ) )
76 python? ( || ( >=dev-libs/boost-1.35.0-r5[python]
77 =dev-libs/boost-1.35.0-r2 ) )
78 sys-libs/zlib"
79 RDEPEND="${DEPEND}"
80
81 src_configure() {
82 append-ldflags -pthread
83
84 #use multi-threading versions of boost libs
85 local BOOST_LIBS="--with-boost-system=boost_system-mt \
86 --with-boost-asio=boost_system-mt \
87 --with-boost-filesystem=boost_filesystem-mt \
88 --with-boost-thread=boost_thread-mt \
89 --with-boost-regex=boost_regex-mt \
90 --with-boost-python=boost_python-mt \
91 --with-boost-program_options=boost_program_options-mt"
92
93 local LOGGING
94 use debug && LOGGING="--with-logging=verbose"
95
96 econf $(use_enable debug) \
97 $(use_enable test tests) \
98 $(use_enable examples) \
99 $(use_enable python python-binding) \
100 --with-zlib=system \
101 --with-asio=system \
102 ${LOGGING} \
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 }