Gentoo Archives: gentoo-commits

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.13_p2335.ebuild
Date: Tue, 03 Jun 2008 10:40:48
Message-Id: E1K3TwX-0002Gs-Va@stork.gentoo.org
1 armin76 08/06/03 10:40:41
2
3 Modified: ChangeLog
4 Added: rb_libtorrent-0.13_p2335.ebuild
5 Log:
6 New snapshot
7 (Portage version: 2.1.5.3)
8
9 Revision Changes Path
10 1.49 net-libs/rb_libtorrent/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/ChangeLog?rev=1.49&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/ChangeLog?rev=1.49&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/ChangeLog?r1=1.48&r2=1.49
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v
19 retrieving revision 1.48
20 retrieving revision 1.49
21 diff -u -r1.48 -r1.49
22 --- ChangeLog 19 Apr 2008 17:09:42 -0000 1.48
23 +++ ChangeLog 3 Jun 2008 10:40:41 -0000 1.49
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.48 2008/04/19 17:09:42 armin76 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v 1.49 2008/06/03 10:40:41 armin76 Exp $
29 +
30 +*rb_libtorrent-0.13_p2335 (03 Jun 2008)
31 +
32 + 03 Jun 2008; Raúl Porcel <armin76@g.o>
33 + +rb_libtorrent-0.13_p2335.ebuild:
34 + New snapshot
35
36 19 Apr 2008; Raúl Porcel <armin76@g.o>
37 rb_libtorrent-0.12.1.ebuild, rb_libtorrent-0.13.ebuild:
38
39
40
41 1.1 net-libs/rb_libtorrent/rb_libtorrent-0.13_p2335.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.13_p2335.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.13_p2335.ebuild?rev=1.1&content-type=text/plain
45
46 Index: rb_libtorrent-0.13_p2335.ebuild
47 ===================================================================
48 # Copyright 1999-2008 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.13_p2335.ebuild,v 1.1 2008/06/03 10:40:41 armin76 Exp $
51
52 WANT_AUTOCONF="latest"
53 WANT_AUTOMAKE="latest"
54 inherit eutils autotools
55
56 MY_P="${P/rb_/}"
57
58 DESCRIPTION="BitTorrent library written in C++ for *nix."
59 HOMEPAGE="http://www.rasterbar.com/products/libtorrent/"
60 SRC_URI="mirror://gentoo/${MY_P}.tar.bz2"
61 S="${WORKDIR}/${MY_P}"
62
63 LICENSE="BSD"
64 SLOT="0"
65 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
66 IUSE="debug"
67
68 DEPEND="dev-libs/boost
69 !net-libs/libtorrent"
70
71 pkg_setup() {
72 # We need boost built with threads
73 if ! built_with_use --missing true "dev-libs/boost" threads; then
74 eerror "${PN} needs dev-libs/boost built with threads USE flag"
75 die "dev-libs/boost is built without threads USE flag"
76 fi
77 }
78
79 src_unpack() {
80 unpack ${A}
81 cd "${S}"
82
83 AT_M4DIR="m4" eautoreconf
84 }
85
86 src_compile() {
87 BOOST_LIBS="--with-boost-date-time=boost_date_time-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-program_options=boost_program_options-mt"
92
93 econf $(use_enable debug) \
94 ${BOOST_LIBS} \
95 LDFLAGS="${LDFLAGS} -pthread" || die "econf failed"
96 emake || die "emake failed"
97 }
98
99 src_install() {
100 emake DESTDIR="${D}" install || die "emake install failed"
101 dodoc ChangeLog AUTHORS NEWS README
102 }
103
104
105
106 --
107 gentoo-commits@l.g.o mailing list