diff options
Diffstat (limited to 'dev-cpp/yaml-cpp')
-rw-r--r-- | dev-cpp/yaml-cpp/Manifest | 2 | ||||
-rw-r--r-- | dev-cpp/yaml-cpp/metadata.xml | 11 | ||||
-rw-r--r-- | dev-cpp/yaml-cpp/yaml-cpp-0.3.0.ebuild | 35 | ||||
-rw-r--r-- | dev-cpp/yaml-cpp/yaml-cpp-0.5.1.ebuild | 34 |
4 files changed, 82 insertions, 0 deletions
diff --git a/dev-cpp/yaml-cpp/Manifest b/dev-cpp/yaml-cpp/Manifest new file mode 100644 index 000000000000..8b5a1bed5876 --- /dev/null +++ b/dev-cpp/yaml-cpp/Manifest @@ -0,0 +1,2 @@ +DIST yaml-cpp-0.3.0.tar.gz 82674 SHA256 2cd038b5a1583b6745e949e196fba525f6d0d5fd340566585fde24fc7e117b82 SHA512 1db7ef9ab717cf3185494dd40872d53948822bf0bb7a8039f5ccade77f29a7c1f37671627404d33f3213654d8e0582e6eaad139fd51f455a0d4d779bf467f43d WHIRLPOOL 106c5a3eda627651c49e1bcf9f22345fcaaaeb85efac4de7b7d103b0d2924ccb3c093dcd6ac03ccad7325d1f3faffc3165288e62bfa913eca21bfcb4eb3b26b9 +DIST yaml-cpp-0.5.1.tar.gz 118244 SHA256 3e7c9052b43d987d41819a203d97fc45de4eed3ec67e0fdb14265c3d11046f06 SHA512 3c6928684d603815c016d663af36be94507f2cccf167d6d8d7cd7dea3ea5f73ec88d62952a2b5d11796e40132857afcbbacd9eafd688f2dc11d0c339caf2e013 WHIRLPOOL 43c1998584fb8cc8b0954a1eba39aaffff18be074c5f1c84ac60df89adc84717007d8f6e67978da2e4f235365d820d7b2809f19eb3c67263ff936f44a9438546 diff --git a/dev-cpp/yaml-cpp/metadata.xml b/dev-cpp/yaml-cpp/metadata.xml new file mode 100644 index 000000000000..40068b39f78f --- /dev/null +++ b/dev-cpp/yaml-cpp/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>neurogeek@gentoo.org</email> + <name>Jesus Rivero</name> + </maintainer> + <upstream> + <remote-id type="google-code">yaml-cpp</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.3.0.ebuild b/dev-cpp/yaml-cpp/yaml-cpp-0.3.0.ebuild new file mode 100644 index 000000000000..becb268db4b7 --- /dev/null +++ b/dev-cpp/yaml-cpp/yaml-cpp-0.3.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit cmake-utils + +DESCRIPTION="A YAML parser and emitter in C++" +HOMEPAGE="http://code.google.com/p/yaml-cpp/" +SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}" + +src_prepare() { + sed -i \ + -e 's:INCLUDE_INSTALL_ROOT_DIR:INCLUDE_INSTALL_DIR:g' \ + yaml-cpp.pc.cmake || die + +} + +src_configure() { + local mycmakeargs=( + -DBUILD_SHARED_LIBS=ON + ) + cmake-utils_src_configure +} diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.5.1.ebuild b/dev-cpp/yaml-cpp/yaml-cpp-0.5.1.ebuild new file mode 100644 index 000000000000..4c6a51814a4f --- /dev/null +++ b/dev-cpp/yaml-cpp/yaml-cpp-0.5.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit cmake-utils + +DESCRIPTION="A YAML parser and emitter in C++" +HOMEPAGE="http://code.google.com/p/yaml-cpp/" +SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm ~hppa ~ppc ppc64 x86 ~amd64-linux ~x86-linux" +IUSE="" + +DEPEND=">=dev-libs/boost-1.49.0-r2" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i \ + -e 's:INCLUDE_INSTALL_ROOT_DIR:INCLUDE_INSTALL_DIR:g' \ + yaml-cpp.pc.cmake || die + + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DBUILD_SHARED_LIBS=ON + ) + cmake-utils_src_configure +} |