1 |
commit: 35955eb9f11cf884675ef4280cc64af6b4415cbe |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 10 21:03:39 2017 +0000 |
4 |
Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 10 21:03:39 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35955eb9 |
7 |
|
8 |
dev-cpp/yaml-cpp: yaml-cpp makes static links to boost bug 628360 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.3 |
11 |
|
12 |
dev-cpp/yaml-cpp/yaml-cpp-0.5.3-r1.ebuild | 37 +++++++++++++++++++++++++++++++ |
13 |
1 file changed, 37 insertions(+) |
14 |
|
15 |
diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3-r1.ebuild b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000000..6bf29f127ca |
18 |
--- /dev/null |
19 |
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3-r1.ebuild |
20 |
@@ -0,0 +1,37 @@ |
21 |
+# Copyright 1999-2017 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=6 |
25 |
+ |
26 |
+inherit cmake-utils |
27 |
+ |
28 |
+DESCRIPTION="YAML parser and emitter in C++" |
29 |
+HOMEPAGE="https://github.com/jbeder/yaml-cpp" |
30 |
+SRC_URI="https://github.com/jbeder/${PN}/archive/release-${PV}.tar.gz -> ${P}.tar.gz" |
31 |
+ |
32 |
+LICENSE="MIT" |
33 |
+SLOT="0" |
34 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" |
35 |
+IUSE="" |
36 |
+ |
37 |
+DEPEND=">=dev-libs/boost-1.49.0-r2:=" |
38 |
+RDEPEND="${DEPEND}" |
39 |
+ |
40 |
+S="${WORKDIR}/${PN}-release-${PV}" |
41 |
+ |
42 |
+PATCHES=( "${FILESDIR}"/${P}-gcc6.patch ) |
43 |
+ |
44 |
+src_prepare() { |
45 |
+ sed -i \ |
46 |
+ -e 's:INCLUDE_INSTALL_ROOT_DIR:INCLUDE_INSTALL_DIR:g' \ |
47 |
+ yaml-cpp.pc.cmake || die |
48 |
+ |
49 |
+ cmake-utils_src_prepare |
50 |
+} |
51 |
+ |
52 |
+src_configure() { |
53 |
+ local mycmakeargs=( |
54 |
+ -DBUILD_SHARED_LIBS=ON |
55 |
+ ) |
56 |
+ cmake-utils_src_configure |
57 |
+} |