From: | "Raul Porcel (armin76)" <armin76@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-libs/rb_libtorrent: ChangeLog rb_libtorrent-0.14.2.ebuild |
Date: | Sat, 28 Mar 2009 14:46:59 |
Message-Id: | E1LnZoH-0005yu-7u@stork.gentoo.org |
1 | armin76 09/03/28 14:46:57 |
2 | |
3 | Modified: ChangeLog |
4 | Added: rb_libtorrent-0.14.2.ebuild |
5 | Log: |
6 | Version bump wrt #263785 |
7 | (Portage version: 2.1.6.7/cvs/Linux ia64) |
8 | |
9 | Revision Changes Path |
10 | 1.54 net-libs/rb_libtorrent/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/ChangeLog?rev=1.54&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/ChangeLog?rev=1.54&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/ChangeLog?r1=1.53&r2=1.54 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v |
19 | retrieving revision 1.53 |
20 | retrieving revision 1.54 |
21 | diff -u -r1.53 -r1.54 |
22 | --- ChangeLog 28 Dec 2008 21:35:27 -0000 1.53 |
23 | +++ ChangeLog 28 Mar 2009 14:46:57 -0000 1.54 |
24 | @@ -1,6 +1,12 @@ |
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.53 2008/12/28 21:35:27 coldwind Exp $ |
28 | +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 | +# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v 1.54 2009/03/28 14:46:57 armin76 Exp $ |
30 | + |
31 | +*rb_libtorrent-0.14.2 (28 Mar 2009) |
32 | + |
33 | + 28 Mar 2009; Raúl Porcel <armin76@g.o> |
34 | + +rb_libtorrent-0.14.2.ebuild: |
35 | + Version bump wrt #263785 |
36 | |
37 | *rb_libtorrent-0.14.1 (28 Dec 2008) |
38 | |
39 | |
40 | |
41 | |
42 | 1.1 net-libs/rb_libtorrent/rb_libtorrent-0.14.2.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.14.2.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.14.2.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: rb_libtorrent-0.14.2.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2009 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.14.2.ebuild,v 1.1 2009/03/28 14:46:57 armin76 Exp $ |
52 | |
53 | inherit eutils autotools |
54 | |
55 | MY_P=${P/rb_/} |
56 | MY_P=${MY_P/torrent/torrent-rasterbar} |
57 | S=${WORKDIR}/${MY_P} |
58 | |
59 | DESCRIPTION="BitTorrent library written in C++ for *nix." |
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 | |
67 | IUSE="debug examples python test" |
68 | |
69 | DEPEND=" |
70 | >=dev-libs/boost-1.34 |
71 | || ( >=dev-libs/boost-1.35 dev-cpp/asio ) |
72 | sys-libs/zlib |
73 | !net-libs/libtorrent" |
74 | RDEPEND="${DEPEND}" |
75 | |
76 | src_unpack() { |
77 | unpack ${A} |
78 | cd "${S}" |
79 | epatch "${FILESDIR}"/${P}-ax_python_path.patch |
80 | eautoreconf |
81 | } |
82 | |
83 | src_compile() { |
84 | #use multi-threading versions of boost libs |
85 | local BOOST_LIBS=" |
86 | --with-boost-system=boost_system-mt \ |
87 | --with-boost-asio=boost_system-mt \ |
88 | --with-boost-filesystem=boost_filesystem-mt \ |
89 | --with-boost-thread=boost_thread-mt \ |
90 | --with-boost-regex=boost_regex-mt \ |
91 | --with-boost-python=boost_python-mt \ |
92 | --with-boost-program_options=boost_program_options-mt" |
93 | |
94 | #TODO: We might want to add 'use debug -> --with-logging=verbose |
95 | econf \ |
96 | $(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 | ${BOOST_LIBS} \ |
103 | LDFLAGS="${LDFLAGS} -pthread" || die "econf failed" |
104 | emake || die "emake failed" |
105 | } |
106 | |
107 | src_install() { |
108 | emake DESTDIR="${D}" install || die "emake install failed" |
109 | dodoc ChangeLog AUTHORS NEWS README |
110 | } |