# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=5 inherit cmake-utils DESCRIPTION="Google C++ Testing Framework" HOMEPAGE="https://github.com/google/googletest" SRC_URI="https://googletest.googlecode.com/files/${P}.zip" LICENSE="BSD" SLOT="0" KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" IUSE="" DEPEND="app-arch/unzip ${PYTHON_DEPS}" RDEPEND="" src_configure() { local mycmakeargs cmake-utils_src_configure } src_install() { into /usr dolib.a "${BUILD_DIR}"/libgtest.a dolib.a "${BUILD_DIR}"/libgtest_main.a insinto /usr/include/gtest/ for x in "${S}"/include/gtest/*.h do echo $x doins "${x}" done }