diff options
| author | Ultrabug <ultrabug@gentoo.org> | 2016-01-20 09:10:30 +0100 |
|---|---|---|
| committer | Ultrabug <ultrabug@gentoo.org> | 2016-01-20 13:45:52 +0100 |
| commit | 04cc17baca8773d552a42e920252a16dd79d1019 (patch) | |
| tree | a3b45422b12dc8ada97ea19145f1e6eefbd94118 /dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild | |
| parent | 1796925c0addfde8b1125540b6439a6475481bc9 (diff) | |
| download | gentoo-04cc17baca8773d552a42e920252a16dd79d1019.tar.gz gentoo-04cc17baca8773d552a42e920252a16dd79d1019.tar.bz2 gentoo-04cc17baca8773d552a42e920252a16dd79d1019.zip | |
dev-cpp/yaml-cpp: version bump
Package-Manager: portage-2.2.27
Diffstat (limited to 'dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild')
| -rw-r--r-- | dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild new file mode 100644 index 000000000000..70eace3a9956 --- /dev/null +++ b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2016 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 +} |
