mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 22:47:14 -08:00
dev-libs/jsoncpp: Port to cmake.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user