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_pre1912.ebuild rb_libtorrent-0.13_pre1876.ebuild |
Date: | Wed, 09 Jan 2008 19:50:53 |
Message-Id: | E1JCgws-0002oO-DN@stork.gentoo.org |
1 | armin76 08/01/09 19:50:50 |
2 | |
3 | Modified: ChangeLog |
4 | Added: rb_libtorrent-0.13_pre1912.ebuild |
5 | Removed: rb_libtorrent-0.13_pre1876.ebuild |
6 | Log: |
7 | Version bump, remove old |
8 | (Portage version: 2.1.4_rc14) |
9 | |
10 | Revision Changes Path |
11 | 1.38 net-libs/rb_libtorrent/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/ChangeLog?rev=1.38&view=markup |
14 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/ChangeLog?rev=1.38&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/ChangeLog?r1=1.37&r2=1.38 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v |
20 | retrieving revision 1.37 |
21 | retrieving revision 1.38 |
22 | diff -u -r1.37 -r1.38 |
23 | --- ChangeLog 31 Dec 2007 11:32:11 -0000 1.37 |
24 | +++ ChangeLog 9 Jan 2008 19:50:49 -0000 1.38 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for net-libs/rb_libtorrent |
27 | -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v 1.37 2007/12/31 11:32:11 armin76 Exp $ |
29 | +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v 1.38 2008/01/09 19:50:49 armin76 Exp $ |
31 | + |
32 | +*rb_libtorrent-0.13_pre1912 (09 Jan 2008) |
33 | + |
34 | + 09 Jan 2008; Raúl Porcel <armin76@g.o> |
35 | + -rb_libtorrent-0.13_pre1876.ebuild, +rb_libtorrent-0.13_pre1912.ebuild: |
36 | + Version bump, remove old |
37 | |
38 | *rb_libtorrent-0.13_pre1876 (31 Dec 2007) |
39 | |
40 | |
41 | |
42 | |
43 | 1.1 net-libs/rb_libtorrent/rb_libtorrent-0.13_pre1912.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.13_pre1912.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.13_pre1912.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: rb_libtorrent-0.13_pre1912.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.13_pre1912.ebuild,v 1.1 2008/01/09 19:50:49 armin76 Exp $ |
53 | |
54 | WANT_AUTOCONF="latest" |
55 | WANT_AUTOMAKE="latest" |
56 | inherit eutils autotools |
57 | |
58 | MY_P="${P/rb_/}" |
59 | |
60 | DESCRIPTION="BitTorrent library written in C++ for *nix." |
61 | HOMEPAGE="http://www.rasterbar.com/products/libtorrent/" |
62 | SRC_URI="mirror://gentoo/${MY_P}.tar.bz2" |
63 | S="${WORKDIR}/${MY_P}" |
64 | |
65 | LICENSE="BSD" |
66 | SLOT="0" |
67 | KEYWORDS="~amd64 ~x86 ~x86-fbsd" |
68 | IUSE="debug" |
69 | |
70 | DEPEND="dev-libs/boost |
71 | !net-libs/libtorrent" |
72 | RDEPEND="${DEPEND}" |
73 | |
74 | pkg_setup() { |
75 | # We need boost built with threads |
76 | if ! has_version ">=dev-libs/boost-1.34_pre20061214" && \ |
77 | ! built_with_use "dev-libs/boost" threads; then |
78 | eerror "${PN} needs dev-libs/boost built with threads USE flag" |
79 | die "dev-libs/boost is built without threads USE flag" |
80 | fi |
81 | } |
82 | |
83 | src_compile() { |
84 | BOOST_LIBS="--with-boost-date-time=boost_date_time-mt \ |
85 | --with-boost-filesystem=boost_filesystem-mt \ |
86 | --with-boost-thread=boost_thread-mt \ |
87 | --with-boost-regex=boost_regex-mt \ |
88 | --with-boost-program_options=boost_program_options-mt" |
89 | |
90 | AT_M4DIR="m4" eautoreconf |
91 | |
92 | econf $(use_enable debug) \ |
93 | ${BOOST_LIBS} \ |
94 | LDFLAGS="${LDFLAGS} -pthread" || die "econf failed" |
95 | emake || die "emake failed" |
96 | } |
97 | |
98 | src_install() { |
99 | emake DESTDIR="${D}" install || die "emake install failed" |
100 | dodoc ChangeLog AUTHORS NEWS README |
101 | } |
102 | |
103 | |
104 | |
105 | -- |
106 | gentoo-commits@l.g.o mailing list |