Closes: https://bugs.gentoo.org/603112
Package-Manager: Portage-2.3.8, Repoman-2.3.4
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
+
EAPI=5
inherit cmake-utils
DOCS="README.txt NEWS.txt AUTHORS.txt"
PATCHES=( "${FILESDIR}/${PN}-3.0.2-gcc44.patch" )
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_find_package test CppUnit)
+ )
+ cmake-utils_src_configure
+}
S="${WORKDIR}/lib${P}"
+src_prepare() {
+ use test || cmake_comment_add_subdirectory tests
+ cmake-utils_src_prepare
+}
+
src_install() {
cmake-utils_src_install