From 01b44ee1c5ff81004e050097dfe22c98f59bc934 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Tue, 30 Apr 2019 08:04:58 +0200 Subject: dev-cpp/cpp-hocon: Add missing := ops MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-cpp/cpp-hocon/cpp-hocon-0.1.4-r1.ebuild | 44 +++++++++++++++++++++++++++++ dev-cpp/cpp-hocon/cpp-hocon-0.1.4.ebuild | 44 ----------------------------- 2 files changed, 44 insertions(+), 44 deletions(-) create mode 100644 dev-cpp/cpp-hocon/cpp-hocon-0.1.4-r1.ebuild delete mode 100644 dev-cpp/cpp-hocon/cpp-hocon-0.1.4.ebuild (limited to 'dev-cpp/cpp-hocon') diff --git a/dev-cpp/cpp-hocon/cpp-hocon-0.1.4-r1.ebuild b/dev-cpp/cpp-hocon/cpp-hocon-0.1.4-r1.ebuild new file mode 100644 index 000000000000..8861488d02b2 --- /dev/null +++ b/dev-cpp/cpp-hocon/cpp-hocon-0.1.4-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2018 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 sparc 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() { + cmake-utils_src_prepare + + # 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/cpp-hocon-0.1.4.ebuild b/dev-cpp/cpp-hocon/cpp-hocon-0.1.4.ebuild deleted file mode 100644 index 401c60179d01..000000000000 --- a/dev-cpp/cpp-hocon/cpp-hocon-0.1.4.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2018 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 sparc 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() { - cmake-utils_src_prepare - - # 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 -} -- cgit v1.2.3