aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2019-08-05 01:44:10 -0500
committerMatthias Maier <tamiko@gentoo.org>2019-08-05 01:44:10 -0500
commit7644cd0c869bd354a01a1470875ff23d57c05ffd (patch)
tree09a264fc2f8e49a344675e2a69c6f47158dcff6e /sci-libs/gmsh/gmsh-4.0.2.ebuild
parentsci-libs/trilinos: merge into ::gentoo and remove from overlay. (diff)
downloadsci-7644cd0c869bd354a01a1470875ff23d57c05ffd.tar.gz
sci-7644cd0c869bd354a01a1470875ff23d57c05ffd.tar.bz2
sci-7644cd0c869bd354a01a1470875ff23d57c05ffd.zip
sci-libs/gmsh: merge into ::gentoo and remove from overlay.
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
Diffstat (limited to 'sci-libs/gmsh/gmsh-4.0.2.ebuild')
-rw-r--r--sci-libs/gmsh/gmsh-4.0.2.ebuild93
1 files changed, 0 insertions, 93 deletions
diff --git a/sci-libs/gmsh/gmsh-4.0.2.ebuild b/sci-libs/gmsh/gmsh-4.0.2.ebuild
deleted file mode 100644
index 7f4690090..000000000
--- a/sci-libs/gmsh/gmsh-4.0.2.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit cmake-utils flag-o-matic fortran-2 toolchain-funcs
-
-DESCRIPTION="A three-dimensional finite element mesh generator"
-HOMEPAGE="http://www.geuz.org/gmsh/"
-SRC_URI="http://www.geuz.org/gmsh/src/${P}-source.tgz"
-
-## gmsh comes with its own copies of (at least) metis, netgen and tetgen, therefore inform the user of their special licenses
-LICENSE="GPL-3 free-noncomm"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-## cgns is not compiling ATM, maybe fix cgns lib first
-IUSE="blas cgns chaco doc examples jpeg lua med metis mpi netgen opencascade petsc png python taucs tetgen X zlib"
-
-RDEPEND="
- virtual/fortran
- X? ( x11-libs/fltk:1 )
- blas? ( virtual/blas virtual/lapack sci-libs/fftw:3.0 )
- cgns? ( sci-libs/cgnslib )
- jpeg? ( virtual/jpeg:0 )
- lua? ( dev-lang/lua:0 )
- med? ( sci-libs/med )
- opencascade? ( sci-libs/opencascade:* )
- png? ( media-libs/libpng:0 )
- petsc? ( sci-mathematics/petsc )
- zlib? ( sys-libs/zlib )
- mpi? ( virtual/mpi[cxx] )
- taucs? ( sci-libs/taucs )"
-
-REQUIRED_USE="
- taucs? ( || ( metis ) )
- "
-
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- doc? ( virtual/latex-base )
- python? ( dev-lang/swig:0 )
- "
-
-S=${WORKDIR}/${P}-source
-
-pkg_setup() {
- fortran-2_pkg_setup
-}
-
-src_configure() {
- local mycmakeargs=( )
-
- use blas && \
- mycmakeargs+=(-DCMAKE_Fortran_COMPILER=$(tc-getF77))
-
- mycmakeargs+=(
- -DENABLE_BLAS_LAPACK="$(usex blas)"
- -DENABLE_CGNS="$(usex cgns)"
- -DENABLE_CHACO="$(usex chaco)"
- -DENABLE_FLTK="$(usex X)"
- -DENABLE_GRAPHICS="$(usex X)"
- -DENABLE_MED="$(usex med)"
- -DENABLE_METIS="$(usex metis)"
- -DENABLE_NETGEN="$(usex netgen)"
- -DENABLE_TAUCS="$(usex taucs)"
- -DENABLE_TETGEN="$(usex tetgen)"
- -DENABLE_OCC="$(usex opencascade)"
- -DENABLE_PETSC="$(usex petsc)"
- -DENABLE_WRAP_PYTHON="$(usex python)")
-
- cmake-utils_src_configure mycmakeargs
-}
-
-src_compile() {
- cmake-utils_src_compile
- if use doc ; then
- cd "${BUILD_DIR}" || die
- emake pdf
- cd "${S}" || die
- dodoc doc/texinfo/gmsh.pdf
- fi
-}
-
-src_install() {
- cmake-utils_src_install
-
- if use examples ; then
- insinto /usr/share/doc/${PF}
- doins -r demos tutorial
- fi
-}