diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-cpp/cpp-hocon |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-cpp/cpp-hocon')
-rw-r--r-- | dev-cpp/cpp-hocon/Manifest | 4 | ||||
-rw-r--r-- | dev-cpp/cpp-hocon/cpp-hocon-0.1.4.ebuild | 43 | ||||
-rw-r--r-- | dev-cpp/cpp-hocon/metadata.xml | 14 |
3 files changed, 61 insertions, 0 deletions
diff --git a/dev-cpp/cpp-hocon/Manifest b/dev-cpp/cpp-hocon/Manifest new file mode 100644 index 000000000000..0bc5e562f0fc --- /dev/null +++ b/dev-cpp/cpp-hocon/Manifest @@ -0,0 +1,4 @@ +DIST cpp-hocon-0.1.4.tar.gz 157988 SHA256 2274b99dc098122b6e3d2c8d23173d21893555190c5a008e5a9a7d84875c7275 SHA512 f5ee6c5e7eaa5139bb3c421fd8b7c0da337daec99dce7f426d567ced0036b7c49a396b1b9bdbaa8023cd776a5a942175082a4b30280d4211a0db51483324be42 WHIRLPOOL a9a4f677dc708d5097812ca407257c9f44168d36081d5a55d32d10862555fa89f213208b0e5c3e83900b1e8c7b313c4ba66e7684f9ba0b5c3b01f0a1ae8f1d6a +EBUILD cpp-hocon-0.1.4.ebuild 963 SHA256 e3fca3fdc793deb39f656f98b7ccd26d33e4df801b7907e199003e6037fbb614 SHA512 6ce03b3aa2eae2a3b4d7c15dad832c23e3214ebb6ae121a117427258c64c4898dcf3071e0edb86bf00b37f91008a67bd25794392e28f062b7d562ff782216f09 WHIRLPOOL 0ea7afa7fdb779e938558d408d986f1c0c0c62a41eb454130082859c8129f6e308495699f5d045961cecd726f8df06cbdeb30ae5a9a13e260b0c46bc20b5843f +MISC ChangeLog 827 SHA256 7330edd9c9b2d6199f8cb00098fffd5f3d67cf1eb4804bcc861a9e21b0da131d SHA512 d242c7b770c7280a793d6d31d617918a0082070d1c62514e53e353a2448d6d008bd0ee028220d84cdb21335d8e198e55951ab9a3698f55794649c7a5c268dd52 WHIRLPOOL 9dd8851c89fb89f0a3972a429dfcba35f2009328866fe5915774f05b7750c51ccbf85ce98109065cdee071b4eb5b726958c4b9ad34f37fc1b5289715941c9ee8 +MISC metadata.xml 433 SHA256 03f191a3164b60625576897287d3247fb0f908bc5d82dd25c680729845d18b2a SHA512 7f890317b6cdfc71563359d575446ccf489d6ffb79ba541566fa747e4a0c1e077ec7f7c5263d96035bbfe77f6631cfb9000f715c348ed543492b7dc4cc7cd305 WHIRLPOOL fc21c75be3010e48fcdfa1bb68656b4dc8e58220b20d7bf01cda0752384c8aadf6703579b7702ec04ce3bbddb8187d2dc596e493151e641fbc8994799f11d57b 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..6b8c0d67d46a --- /dev/null +++ b/dev-cpp/cpp-hocon/cpp-hocon-0.1.4.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 ~arm 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 +} diff --git a/dev-cpp/cpp-hocon/metadata.xml b/dev-cpp/cpp-hocon/metadata.xml new file mode 100644 index 000000000000..07ce8804cf91 --- /dev/null +++ b/dev-cpp/cpp-hocon/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>prometheanfire@gentoo.org</email> + <name>Matthew Thode</name> + </maintainer> + <upstream> + <remote-id type="github">puppetlabs/cpp-hocon</remote-id> + </upstream> + <longdescription lang="en"> + A C++ port of the Typesafe Config library. + </longdescription> +</pkgmetadata> |