1 |
commit: d12887e32fcbe3c1e080dfe42534f7ed825128d7 |
2 |
Author: Sergey Popov <pinkbyte <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 27 08:48:59 2016 +0000 |
4 |
Commit: Sergey Popov <pinkbyte <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 27 08:49:24 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d12887e3 |
7 |
|
8 |
dev-libs/xmlwrapp: revision bump |
9 |
|
10 |
Bump EAPI to 6, add multilib support. Unbundle boost-m4, |
11 |
which effectively fix building with GCC 5 |
12 |
|
13 |
Gentoo-Bug: 571502 |
14 |
|
15 |
Package-Manager: portage-2.2.26 |
16 |
|
17 |
dev-libs/xmlwrapp/xmlwrapp-0.7.1-r1.ebuild | 45 ++++++++++++++++++++++++++++++ |
18 |
1 file changed, 45 insertions(+) |
19 |
|
20 |
diff --git a/dev-libs/xmlwrapp/xmlwrapp-0.7.1-r1.ebuild b/dev-libs/xmlwrapp/xmlwrapp-0.7.1-r1.ebuild |
21 |
new file mode 100644 |
22 |
index 0000000..696025d |
23 |
--- /dev/null |
24 |
+++ b/dev-libs/xmlwrapp/xmlwrapp-0.7.1-r1.ebuild |
25 |
@@ -0,0 +1,45 @@ |
26 |
+# Copyright 1999-2016 Gentoo Foundation |
27 |
+# Distributed under the terms of the GNU General Public License v2 |
28 |
+# $Id$ |
29 |
+ |
30 |
+EAPI=6 |
31 |
+ |
32 |
+inherit autotools eutils multilib-minimal |
33 |
+ |
34 |
+DESCRIPTION="modern style C++ library that provides a simple and easy interface to libxml2" |
35 |
+HOMEPAGE="http://vslavik.github.io/xmlwrapp/" |
36 |
+SRC_URI="https://github.com/vslavik/${PN}/releases/download/v${PV}/${P}.tar.gz" |
37 |
+ |
38 |
+LICENSE="BSD" |
39 |
+SLOT="0" |
40 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
41 |
+IUSE="static-libs" |
42 |
+ |
43 |
+RDEPEND="dev-libs/boost:=[${MULTILIB_USEDEP}] |
44 |
+ dev-libs/libxml2[${MULTILIB_USEDEP}] |
45 |
+ dev-libs/libxslt[${MULTILIB_USEDEP}]" |
46 |
+DEPEND="${RDEPEND} |
47 |
+ sys-devel/boost-m4" |
48 |
+ |
49 |
+DOCS=( AUTHORS NEWS README ) |
50 |
+ |
51 |
+src_prepare() { |
52 |
+ # Unbundle boost.m4 |
53 |
+ rm admin/boost.m4 || die |
54 |
+ |
55 |
+ sed -i -e '/XMLWRAPP_VISIBILITY/d' configure.ac || die |
56 |
+ |
57 |
+ eapply_user |
58 |
+ eautoreconf |
59 |
+ multilib_copy_sources |
60 |
+} |
61 |
+ |
62 |
+multilib_src_configure() { |
63 |
+ local ECONF_SOURCE=${BUILD_DIR} |
64 |
+ econf $(use_enable static-libs static) |
65 |
+} |
66 |
+ |
67 |
+multilib_src_install() { |
68 |
+ default_src_install |
69 |
+ prune_libtool_files |
70 |
+} |