diff options
author | Matthew Dawson <matthew@mjdsystems.ca> | 2015-12-28 17:47:05 -0500 |
---|---|---|
committer | Matthew Dawson <matthew@mjdsystems.ca> | 2015-12-28 17:47:05 -0500 |
commit | fd75484b75b558d5b8c1f98c9b77bb2265f60206 (patch) | |
tree | f7800a3cf763346d3e59041669d2229c2931628c /dev-cpp/yaml-cpp/yaml-cpp-0.5.2.ebuild | |
parent | 09ae78d0fa7943cb16b28ee8cd0ec82949c4bd4a (diff) | |
download | gentoo-fd75484b75b558d5b8c1f98c9b77bb2265f60206.tar.gz gentoo-fd75484b75b558d5b8c1f98c9b77bb2265f60206.tar.xz |
dev-cpp/yaml-cpp: Bump to version 0.5.2. Adjust SRC_URI and S to match tarball.
Package-Manager: portage-2.2.24
Diffstat (limited to 'dev-cpp/yaml-cpp/yaml-cpp-0.5.2.ebuild')
-rw-r--r-- | dev-cpp/yaml-cpp/yaml-cpp-0.5.2.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.5.2.ebuild b/dev-cpp/yaml-cpp/yaml-cpp-0.5.2.ebuild new file mode 100644 index 00000000000..d2db62f7bdf --- /dev/null +++ b/dev-cpp/yaml-cpp/yaml-cpp-0.5.2.ebuild @@ -0,0 +1,36 @@ +# 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="https://github.com/jbeder/yaml-cpp" +SRC_URI="https://github.com/jbeder/${PN}/archive/release-${PV}.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}" + +S="${WORKDIR}/${PN}-release-${PV}" + +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 +} |