Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libxr/
Date: Sun, 26 Jun 2016 00:09:40
Message-Id: 1466897791.14a4f4f05ada7f789e5db7991b6a0f2b76b68a23.blueness@gentoo
1 commit: 14a4f4f05ada7f789e5db7991b6a0f2b76b68a23
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 25 23:36:31 2016 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 25 23:36:31 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14a4f4f0
7
8 dev-libs/libxr: bump EAPI and add libressl support
9
10 Package-Manager: portage-2.2.28
11
12 dev-libs/libxr/libxr-1.0.ebuild | 20 +++++++++++---------
13 1 file changed, 11 insertions(+), 9 deletions(-)
14
15 diff --git a/dev-libs/libxr/libxr-1.0.ebuild b/dev-libs/libxr/libxr-1.0.ebuild
16 index 8aedc03..cdd0cf7 100644
17 --- a/dev-libs/libxr/libxr-1.0.ebuild
18 +++ b/dev-libs/libxr/libxr-1.0.ebuild
19 @@ -1,7 +1,9 @@
20 -# Copyright 1999-2012 Gentoo Foundation
21 +# Copyright 1999-2016 Gentoo Foundation
22 # Distributed under the terms of the GNU General Public License v2
23 # $Id$
24
25 +EAPI=5
26 +
27 DESCRIPTION="Cross-platform XML-RPC client/server library written in C"
28 HOMEPAGE="http://oss.zonio.net/libxr.htm"
29 SRC_URI="http://oss.zonio.net/releases/libxr/${P}.tar.bz2"
30 @@ -9,22 +11,22 @@ SRC_URI="http://oss.zonio.net/releases/libxr/${P}.tar.bz2"
31 LICENSE="LGPL-2"
32 SLOT="0"
33 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
34 -IUSE=""
35 +IUSE="libressl"
36 # IUSE="json"
37
38 RDEPEND=">=dev-libs/glib-2.12
39 - >=dev-libs/libxml2-2.6.20
40 - dev-libs/openssl"
41 -# json? ( >=dev-libs/json-c-0.3 )"
42 + >=dev-libs/libxml2-2.6.20
43 + !libressl? ( dev-libs/openssl:0= )
44 + libressl? ( dev-libs/libressl:0= )"
45 +# json? ( >=dev-libs/json-c-0.3 )"
46 DEPEND="${RDEPEND}
47 virtual/pkgconfig
48 dev-util/re2c"
49
50 -src_compile() {
51 - econf --without-json || die
52 - emake || die
53 +src_configure() {
54 + econf --without-json
55 }
56
57 src_install() {
58 - emake DESTDIR="$D" install || die
59 + emake DESTDIR="$D" install
60 }