summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-12-18 12:24:40 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2022-12-19 15:44:54 +0100
commit956155b3340d75a3bd0e344ed8bf1818d7abd4cb (patch)
treeccf567f4cdbf220a7035bb7814f61aa3055458ae /sci-libs/cgnslib
parentsci-libs/dcmtk: drop 3.6.5-r2, 3.6.5-r3 (diff)
downloadgentoo-956155b3340d75a3bd0e344ed8bf1818d7abd4cb.tar.gz
gentoo-956155b3340d75a3bd0e344ed8bf1818d7abd4cb.tar.bz2
gentoo-956155b3340d75a3bd0e344ed8bf1818d7abd4cb.zip
sci-libs/cgnslib: drop 3.4.0
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'sci-libs/cgnslib')
-rw-r--r--sci-libs/cgnslib/Manifest1
-rw-r--r--sci-libs/cgnslib/cgnslib-3.4.0.ebuild94
2 files changed, 0 insertions, 95 deletions
diff --git a/sci-libs/cgnslib/Manifest b/sci-libs/cgnslib/Manifest
index 2c3490431ddf..2f912684c864 100644
--- a/sci-libs/cgnslib/Manifest
+++ b/sci-libs/cgnslib/Manifest
@@ -1,2 +1 @@
-DIST cgnslib-3.4.0.tar.gz 3393312 BLAKE2B 279d4502ff70701df6a266495ccc7750e9c51ac14bd3d5072ae8e1448b4f1e4afaefaaf254cf0afe1cc984e4d9fc7d5c161f7696f62726aaf567990ded3c9056 SHA512 e26cfb0d9f3061242d327a6c18fe40ed51bf63b61ae0d6b5cce7e6b4aa623b00e1c3fd9fe240d993323c6f4eec043fde5296a82b1f9108027f945300eec541ec
DIST cgnslib-4.3.0.tar.gz 1472044 BLAKE2B 8fa59eb2c13b163553c03991af1886d2162295367094937c3b7bbbc687f098e736a927fb6835fabb43ecfbe59edcf0e58e8977e89eeb1ef12b26568fbdc78e2c SHA512 5db97b8df8cb5b108a65513e20774881c1dfa790dd96bec46119883d934db18e3f88450d287690cb785e0875af87a3ec32b6c4665c54edb623161122ee85aa93
diff --git a/sci-libs/cgnslib/cgnslib-3.4.0.ebuild b/sci-libs/cgnslib/cgnslib-3.4.0.ebuild
deleted file mode 100644
index 6eac6426bb89..000000000000
--- a/sci-libs/cgnslib/cgnslib-3.4.0.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-FORTRAN_NEEDED="fortran"
-FORTRAN_STANDARD="90 2003"
-
-# 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/"
-SRC_URI="https://github.com/CGNS/CGNS/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="ZLIB"
-SLOT="0/3"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc examples fortran hdf5 legacy mpi static-libs szip test tools"
-RESTRICT="
- fortran? ( test )
- !test? ( test )
-"
-
-REQUIRED_USE="
- mpi? ( hdf5 )
- szip? ( hdf5 )
-"
-
-RDEPEND="hdf5? ( sci-libs/hdf5:=[mpi=,szip=] )
- tools? (
- dev-lang/tcl:=
- dev-lang/tk:=
- x11-libs/libXmu:=
- virtual/glu
- virtual/opengl
- )"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/CGNS-${PV}"
-
-pkg_setup() {
- use fortran && fortran-2_pkg_setup
-}
-
-src_prepare() {
- # gentoo libdir
- sed -e 's|/lib|/'$(get_libdir)'|' \
- -e '/DESTINATION/s|lib|'$(get_libdir)'|g' \
- -i src/CMakeLists.txt || die
- # dont hard code link
- sed -e '/link_directories/d' \
- -i src/tools/CMakeLists.txt src/cgnstools/*/CMakeLists.txt || die
- cmake_src_prepare
-}
-
-src_configure() {
- local mycmakeargs=(
- -DCGNS_BUILD_SHARED=ON
- -DCGNS_USE_SHARED=ON
- -DCGNS_BUILD_CGNSTOOLS="$(usex tools)"
- -DCGNS_ENABLE_FORTRAN="$(usex fortran)"
- -DCGNS_ENABLE_HDF5="$(usex hdf5)"
- -DCGNS_ENABLE_LEGACY="$(usex legacy)"
- -DCGNS_ENABLE_TESTS="$(usex test)"
- )
-
- if use hdf5; then
- mycmakeargs+=(
- -DHDF5_NEED_MPI="$(usex mpi)"
- -DHDF5_NEED_SZIP="$(usex szip)"
- -DHDF5_NEED_ZLIB="$(usex szip)"
- )
- fi
-
- 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_src_compile
-}
-
-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
- docompress -x /usr/share/doc/${PF}/examples
- use examples && dodoc -r src/examples
-}