mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
dev-cpp/gtest: Support install of extra docs
Package-Manager: Portage-2.3.10, Repoman-2.3.3
This commit is contained in:
committed by
Mike Gilbert
parent
c611133fd6
commit
cd6ac5d6bb
@@ -15,7 +15,7 @@ SRC_URI="https://github.com/google/googletest/archive/release-${PV}.tar.gz -> ${
|
||||
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="examples test"
|
||||
IUSE="doc examples test"
|
||||
|
||||
DEPEND="test? ( ${PYTHON_DEPS} )"
|
||||
RDEPEND="!dev-cpp/gmock"
|
||||
@@ -53,6 +53,13 @@ multilib_src_configure() {
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
|
||||
if use doc; then
|
||||
docinto googletest
|
||||
dodoc -r googletest/docs/*
|
||||
docinto googlemock
|
||||
dodoc -r googlemock/docs/*
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc googletest/samples/*.{cc,h}
|
||||
|
||||
@@ -22,7 +22,7 @@ HOMEPAGE="https://github.com/google/googletest"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="examples test"
|
||||
IUSE="doc examples test"
|
||||
|
||||
DEPEND="test? ( ${PYTHON_DEPS} )"
|
||||
RDEPEND="!dev-cpp/gmock"
|
||||
@@ -61,6 +61,13 @@ multilib_src_configure() {
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
|
||||
if use doc; then
|
||||
docinto googletest
|
||||
dodoc -r googletest/docs/*
|
||||
docinto googlemock
|
||||
dodoc -r googlemock/docs/*
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc googletest/samples/*.{cc,h}
|
||||
|
||||
Reference in New Issue
Block a user