diff options
| author | Matthew Thode <prometheanfire@gentoo.org> | 2016-11-11 10:56:19 -0600 |
|---|---|---|
| committer | Matthew Thode <prometheanfire@gentoo.org> | 2016-11-11 10:57:31 -0600 |
| commit | 3c4631fe5395b8df4582e7e9c7a22d781d634a8f (patch) | |
| tree | 3b7a6ae338a5329fa1d6e2350f3ab3bde950353c /dev-cpp/cpp-hocon/cpp-hocon-0.1.4.ebuild | |
| parent | 5d778c4e74c83190d90e3817e1d8ceb7ef1ea0d3 (diff) | |
| download | gentoo-3c4631fe5395b8df4582e7e9c7a22d781d634a8f.tar.gz gentoo-3c4631fe5395b8df4582e7e9c7a22d781d634a8f.tar.bz2 gentoo-3c4631fe5395b8df4582e7e9c7a22d781d634a8f.zip | |
dev-cpp/cpp-hocon: updating deps more in line with the actual code
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-cpp/cpp-hocon/cpp-hocon-0.1.4.ebuild')
| -rw-r--r-- | dev-cpp/cpp-hocon/cpp-hocon-0.1.4.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/dev-cpp/cpp-hocon/cpp-hocon-0.1.4.ebuild b/dev-cpp/cpp-hocon/cpp-hocon-0.1.4.ebuild new file mode 100644 index 000000000000..d83fa9e351f4 --- /dev/null +++ b/dev-cpp/cpp-hocon/cpp-hocon-0.1.4.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="Provides C++ support for the HOCON configuration file format" +HOMEPAGE="https://github.com/puppetlabs/cpp-hocon" +SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="debug test" + +DEPEND=" + >=sys-devel/gcc-4.9.3:* + >=dev-libs/boost-1.54[nls] + >=dev-libs/leatherman-0.9.3 + " +RDEPEND="${DEPEND}" + +src_prepare() { + default + # make it support multilib + sed -i "s/\ lib)/\ $(get_libdir))/g" lib/CMakeLists.txt || die + sed -i "s/lib\")/$(get_libdir)\")/g" CMakeLists.txt || die +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_VERBOSE_MAKEFILE=ON + -DCMAKE_BUILD_TYPE=None + -DCMAKE_INSTALL_PREFIX=/usr + ) + if use debug; then + mycmakeargs+=( + -DCMAKE_BUILD_TYPE=Debug + ) + fi + cmake-utils_src_configure +} |
