Gentoo Archives: gentoo-commits

From: "Santiago M. Mola (coldwind)" <coldwind@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/rb_libtorrent: ChangeLog rb_libtorrent-0.14.1.ebuild
Date: Sun, 28 Dec 2008 21:35:29
Message-Id: E1LH3IF-0001X2-BL@stork.gentoo.org
1 coldwind 08/12/28 21:35:27
2
3 Modified: ChangeLog
4 Added: rb_libtorrent-0.14.1.ebuild
5 Log:
6 Version bump (bug #245731), thanks to Atman Sense <atman.sense@××××.de>. Closes bug #225931 too.
7 (Portage version: 2.2_rc19/cvs/Linux 2.6.27-gentoo-r2 x86_64)
8
9 Revision Changes Path
10 1.53 net-libs/rb_libtorrent/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/ChangeLog?rev=1.53&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/ChangeLog?rev=1.53&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/ChangeLog?r1=1.52&r2=1.53
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v
19 retrieving revision 1.52
20 retrieving revision 1.53
21 diff -u -r1.52 -r1.53
22 --- ChangeLog 9 Aug 2008 16:59:27 -0000 1.52
23 +++ ChangeLog 28 Dec 2008 21:35:27 -0000 1.53
24 @@ -1,6 +1,14 @@
25 # ChangeLog for net-libs/rb_libtorrent
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v 1.52 2008/08/09 16:59:27 coldwind Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v 1.53 2008/12/28 21:35:27 coldwind Exp $
29 +
30 +*rb_libtorrent-0.14.1 (28 Dec 2008)
31 +
32 + 28 Dec 2008; Santiago M. Mola <coldwind@g.o>
33 + +files/rb_libtorrent-0.14.1-ax_python_path.patch,
34 + +rb_libtorrent-0.14.1.ebuild:
35 + Version bump (bug #245731), thanks to Atman Sense <atman.sense@××××.de>.
36 + Closes bug #225931 too.
37
38 09 Aug 2008; Santiago M. Mola <coldwind@g.o>
39 rb_libtorrent-0.13.ebuild:
40
41
42
43 1.1 net-libs/rb_libtorrent/rb_libtorrent-0.14.1.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.14.1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.14.1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: rb_libtorrent-0.14.1.ebuild
49 ===================================================================
50 # Copyright 1999-2008 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.14.1.ebuild,v 1.1 2008/12/28 21:35:27 coldwind Exp $
53
54 inherit eutils autotools
55
56 MY_P=${P/rb_/}
57 MY_P=${MY_P/torrent/torrent-rasterbar}
58 S=${WORKDIR}/${MY_P}
59
60 DESCRIPTION="BitTorrent library written in C++ for *nix."
61 HOMEPAGE="http://www.rasterbar.com/products/libtorrent/"
62 SRC_URI="mirror://sourceforge/libtorrent/${MY_P}.tar.gz"
63
64 LICENSE="BSD"
65 SLOT="0"
66 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
67
68 IUSE="debug examples python test"
69
70 DEPEND="
71 >=dev-libs/boost-1.34
72 || ( >=dev-libs/boost-1.35 dev-cpp/asio )
73 sys-libs/zlib
74 !net-libs/libtorrent"
75 RDEPEND="${DEPEND}"
76
77 src_unpack() {
78 unpack ${A}
79 cd "${S}"
80 epatch "${FILESDIR}"/${P}-ax_python_path.patch
81 eautoreconf
82 }
83
84 src_compile() {
85 #use multi-threading versions of boost libs
86 local BOOST_LIBS="
87 --with-boost-system=boost_system-mt \
88 --with-boost-asio=boost_system-mt \
89 --with-boost-filesystem=boost_filesystem-mt \
90 --with-boost-thread=boost_thread-mt \
91 --with-boost-regex=boost_regex-mt \
92 --with-boost-python=boost_python-mt \
93 --with-boost-program_options=boost_program_options-mt"
94
95 #TODO: We might want to add 'use debug -> --with-logging=verbose
96 econf \
97 $(use_enable debug) \
98 $(use_enable test tests) \
99 $(use_enable examples) \
100 $(use_enable python python-binding) \
101 --with-zlib=system \
102 --with-asio=system \
103 ${BOOST_LIBS} \
104 LDFLAGS="${LDFLAGS} -pthread" || die "econf failed"
105 emake || die "emake failed"
106 }
107
108 src_install() {
109 emake DESTDIR="${D}" install || die "emake install failed"
110 dodoc ChangeLog AUTHORS NEWS README
111 }