summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-06-08 10:34:03 +0200
committerMichał Górny <mgorny@gentoo.org>2020-06-08 10:56:06 +0200
commit060ae27b594396e44fc701e3ae89ef7c640c962b (patch)
tree62dafc2f856a87fe6e2b08013bb5492d6ee221ae /dev-libs/jsoncpp
parentapp-portage/pram: Port to cmake.eclass (diff)
downloadgentoo-060ae27b594396e44fc701e3ae89ef7c640c962b.tar.gz
gentoo-060ae27b594396e44fc701e3ae89ef7c640c962b.tar.bz2
gentoo-060ae27b594396e44fc701e3ae89ef7c640c962b.zip
dev-libs/jsoncpp: Port to cmake.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-libs/jsoncpp')
-rw-r--r--dev-libs/jsoncpp/jsoncpp-1.9.1.ebuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/dev-libs/jsoncpp/jsoncpp-1.9.1.ebuild b/dev-libs/jsoncpp/jsoncpp-1.9.1.ebuild
index 6211be16019b..49dd145bbeaa 100644
--- a/dev-libs/jsoncpp/jsoncpp-1.9.1.ebuild
+++ b/dev-libs/jsoncpp/jsoncpp-1.9.1.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
PYTHON_COMPAT=( python2_7 )
-inherit cmake-utils python-any-r1
+inherit cmake python-any-r1
DESCRIPTION="C++ JSON reader and writer"
HOMEPAGE="https://github.com/open-source-parsers/jsoncpp"
@@ -49,11 +49,11 @@ src_configure() {
# Disable implicit ccache use
-DCCACHE_FOUND=OFF
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_compile() {
- cmake-utils_src_compile
+ cmake_src_compile
if use doc; then
cp "${BUILD_DIR}"/version . || die
@@ -63,5 +63,5 @@ src_compile() {
}
src_test() {
- cmake-utils_src_make jsoncpp_check
+ cmake_build jsoncpp_check
}