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: rb_libtorrent-0.14.6.ebuild ChangeLog
Date: Wed, 30 Sep 2009 22:48:44
Message-Id: E1Mt7yT-0002oy-SC@stork.gentoo.org
1 yngwin 09/09/30 22:48:41
2
3 Modified: ChangeLog
4 Added: rb_libtorrent-0.14.6.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.2_rc42/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.65 net-libs/rb_libtorrent/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/ChangeLog?rev=1.65&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/ChangeLog?rev=1.65&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/ChangeLog?r1=1.64&r2=1.65
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v
19 retrieving revision 1.64
20 retrieving revision 1.65
21 diff -u -r1.64 -r1.65
22 --- ChangeLog 15 Aug 2009 23:29:06 -0000 1.64
23 +++ ChangeLog 30 Sep 2009 22:48:41 -0000 1.65
24 @@ -1,6 +1,12 @@
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.64 2009/08/15 23:29:06 yngwin Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v 1.65 2009/09/30 22:48:41 yngwin Exp $
29 +
30 +*rb_libtorrent-0.14.6 (30 Sep 2009)
31 +
32 + 30 Sep 2009; Ben de Groot <yngwin@g.o>
33 + +rb_libtorrent-0.14.6.ebuild:
34 + Version bump
35
36 *rb_libtorrent-0.14.5 (15 Aug 2009)
37
38
39
40
41 1.1 net-libs/rb_libtorrent/rb_libtorrent-0.14.6.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.14.6.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.14.6.ebuild?rev=1.1&content-type=text/plain
45
46 Index: rb_libtorrent-0.14.6.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.14.6.ebuild,v 1.1 2009/09/30 22:48:41 yngwin Exp $
51
52 EAPI="2"
53 inherit eutils flag-o-matic
54
55 MY_P=${P/rb_/}
56 MY_P=${MY_P/torrent/torrent-rasterbar}
57 S=${WORKDIR}/${MY_P}
58
59 DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability"
60 HOMEPAGE="http://www.rasterbar.com/products/libtorrent/"
61 SRC_URI="mirror://sourceforge/libtorrent/${MY_P}.tar.gz"
62
63 LICENSE="BSD"
64 SLOT="0"
65 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
66 IUSE="debug doc examples python test"
67
68 DEPEND="!net-libs/libtorrent
69 || ( >=dev-libs/boost-1.35
70 ( ~dev-libs/boost-1.34.1 dev-cpp/asio ) )
71 python? ( || ( >=dev-libs/boost-1.35.0-r5[python]
72 =dev-libs/boost-1.35.0-r2 ) )
73 sys-libs/zlib"
74 RDEPEND="${DEPEND}"
75
76 src_configure() {
77 append-ldflags -pthread
78
79 #use multi-threading versions of boost libs
80 local BOOST_LIBS="--with-boost-system=boost_system-mt \
81 --with-boost-asio=boost_system-mt \
82 --with-boost-filesystem=boost_filesystem-mt \
83 --with-boost-thread=boost_thread-mt \
84 --with-boost-regex=boost_regex-mt \
85 --with-boost-python=boost_python-mt \
86 --with-boost-program_options=boost_program_options-mt"
87
88 local LOGGING
89 use debug && LOGGING="--with-logging=verbose"
90
91 econf $(use_enable debug) \
92 $(use_enable test tests) \
93 $(use_enable examples) \
94 $(use_enable python python-binding) \
95 --with-zlib=system \
96 --with-asio=system \
97 ${LOGGING} \
98 ${BOOST_LIBS}
99 }
100
101 src_install() {
102 emake DESTDIR="${D}" install || die 'emake install failed'
103 dodoc ChangeLog AUTHORS NEWS README || die 'dodoc failed'
104 if use doc ; then
105 dohtml docs/* || die "Could not install HTML documentation"
106 fi
107 }