diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
commit | 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch) | |
tree | 758c221bad35c9288d0bd6df9c7dfc226728e52c /dev-libs/tvmet/tvmet-1.7.2-r2.ebuild | |
parent | 8d5dbd847cbc704a6a06405856e94b461011afe3 (diff) |
gentoo resync : 28.04.2021
Diffstat (limited to 'dev-libs/tvmet/tvmet-1.7.2-r2.ebuild')
-rw-r--r-- | dev-libs/tvmet/tvmet-1.7.2-r2.ebuild | 29 |
1 files changed, 18 insertions, 11 deletions
diff --git a/dev-libs/tvmet/tvmet-1.7.2-r2.ebuild b/dev-libs/tvmet/tvmet-1.7.2-r2.ebuild index b9927da76c91..17b51a76512c 100644 --- a/dev-libs/tvmet/tvmet-1.7.2-r2.ebuild +++ b/dev-libs/tvmet/tvmet-1.7.2-r2.ebuild @@ -1,25 +1,27 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="5" - -inherit eutils +EAPI=7 DESCRIPTION="Tiny Vector Matrix library using Expression Templates" HOMEPAGE="http://tvmet.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" -LICENSE="LGPL-2.1" + SLOT="0" +LICENSE="LGPL-2.1" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" IUSE="debug doc test" RESTRICT="!test? ( test )" -DEPEND="doc? ( app-doc/doxygen ) - test? ( dev-util/cppunit )" -RDEPEND="" +BDEPEND="doc? ( app-doc/doxygen )" +DEPEND="test? ( dev-util/cppunit )" + +PATCHES=( + "${FILESDIR}"/${P}-respect-cxxflags.patch +) src_prepare() { - epatch "${FILESDIR}/${P}-respect-cxxflags.patch" + default sed -i \ -e 's|^GENERATE_LATEX.*|GENERATE_LATEX = NO|' \ @@ -41,13 +43,18 @@ src_configure() { src_compile() { default + if use doc ; then - cd doc + cd doc || die doxygen Doxyfile || die "doxygen failed" fi } src_install() { default - use doc && dohtml -r doc/html/* + + if use doc ; then + docinto html + dodoc -r doc/html/* + fi } |