diff options
author | Bernd Waibel <waebbl@gmail.com> | 2020-12-21 18:22:44 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2020-12-27 03:35:37 +0000 |
commit | 1debce5a43abf2d63a60f23e4b2b18d2ade4c35d (patch) | |
tree | 1a3eb1793ea056c448388107c35165af92bdd151 /sci-libs | |
parent | sci-libs/cgnslib: fix doc installation (diff) | |
download | gentoo-1debce5a43abf2d63a60f23e4b2b18d2ade4c35d.tar.gz gentoo-1debce5a43abf2d63a60f23e4b2b18d2ade4c35d.tar.bz2 gentoo-1debce5a43abf2d63a60f23e4b2b18d2ade4c35d.zip |
sci-libs/cgnslib: bump to EAPI 7
Switch to cmake.eclass
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Bernd Waibel <waebbl@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/18749
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/cgnslib/cgnslib-3.4.0.ebuild | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/sci-libs/cgnslib/cgnslib-3.4.0.ebuild b/sci-libs/cgnslib/cgnslib-3.4.0.ebuild index 880fa6bd5801..d7da6448621a 100644 --- a/sci-libs/cgnslib/cgnslib-3.4.0.ebuild +++ b/sci-libs/cgnslib/cgnslib-3.4.0.ebuild @@ -1,12 +1,15 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 FORTRAN_NEEDED="fortran" FORTRAN_STANDARD="90 2003" -inherit cmake-utils fortran-2 +# fails to build with ninja +CMAKE_MAKEFILE_GENERATOR="emake" + +inherit cmake fortran-2 DESCRIPTION="CFD General Notation System standard library" HOMEPAGE="http://www.cgns.org/" @@ -42,7 +45,7 @@ src_prepare() { # dont hard code link sed -e '/link_directories/d' \ -i src/tools/CMakeLists.txt src/cgnstools/*/CMakeLists.txt || die - cmake-utils_src_prepare + cmake_src_prepare } src_configure() { @@ -58,20 +61,20 @@ src_configure() { -DHDF5_NEED_SZIP="$(usex szip)" -DHDF5_NEED_ZLIB="$(usex szip)" ) - cmake-utils_src_configure + cmake_src_configure } src_compile() { # hack to allow parallel building by first producing fortran module use fortran && cd "${BUILD_DIR}"/src && emake cgns_f.o - cmake-utils_src_compile + cmake_src_compile } src_install() { - cmake-utils_src_install + cmake_src_install dodoc README.md release_docs/Release.txt use static-libs || rm "${ED}"/usr/$(get_libdir)/libcgns.a use doc && dodoc release_docs/*.pdf - insinto /usr/share/doc/${PF} - use examples && doins -r src/examples + docompress -x /usr/share/doc/${PF}/examples + use examples && dodoc -r src/examples } |