diff options
author | Aisha Tammy <gentoo@aisha.cc> | 2020-10-17 20:38:02 +0000 |
---|---|---|
committer | Aisha Tammy <gentoo@aisha.cc> | 2020-10-17 20:38:02 +0000 |
commit | e4afa2b2d621bca0b6101c63cb68aed26e5224a3 (patch) | |
tree | 187ff5d4cf2811293e4cd1c1494f921ab070ff47 /media-libs/mmg/mmg-5.5.1.ebuild | |
parent | sys-cluster/spack: flexible package manager for env modules (diff) | |
download | sci-e4afa2b2d621bca0b6101c63cb68aed26e5224a3.tar.gz sci-e4afa2b2d621bca0b6101c63cb68aed26e5224a3.tar.bz2 sci-e4afa2b2d621bca0b6101c63cb68aed26e5224a3.zip |
media-libs/mmg: version bump to 5.5.1
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
Diffstat (limited to 'media-libs/mmg/mmg-5.5.1.ebuild')
-rw-r--r-- | media-libs/mmg/mmg-5.5.1.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/media-libs/mmg/mmg-5.5.1.ebuild b/media-libs/mmg/mmg-5.5.1.ebuild new file mode 100644 index 000000000..e5fa82146 --- /dev/null +++ b/media-libs/mmg/mmg-5.5.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake fortran-2 +CMAKE_BUILD_TYPE=MMG +FORTRAN_NEED_OPENMP=1 + +DESCRIPTION="bidimensional and tridimensional remesher" +HOMEPAGE="https://www.mmgtools.org/" +SRC_URI="https://github.com/MmgTools/mmg/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3 LGPL-3" +KEYWORDS="~amd64" +SLOT="0" +IUSE="scotch vtk" + +DEPEND=" + scotch? ( sci-libs/scotch ) + vtk? ( sci-libs/vtk ) +" +RDEPEND="${DEPEND}" +BDEPEND=" + app-doc/doxygen +" + +src_configure() { + local mycmakeargs=( + -DUSE_VTK=$(usex vtk) + -DUSE_SCOTCH=$(usex scotch) + -DBUILD_SHARED_LIBS=ON + -DLIBMMG2D_SHARED=ON + -DLIBMMGS_SHARED=ON + -DLIBMMG3D_SHARED=ON + ) + cmake_src_configure +} + +# no tests present |