summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2020-04-30 15:29:32 -0500
committerMatthias Maier <tamiko@gentoo.org>2020-04-30 15:37:38 -0500
commit8f672be663388bcc425aaaafb61e2799342395ef (patch)
tree54b5b8a67bfd6803d0d8ba205a4ff45232228a7b /sci-libs/ginkgo/ginkgo-9999.ebuild
parentdev-python/nltk: add missing dependencies (diff)
downloadgentoo-8f672be663388bcc425aaaafb61e2799342395ef.tar.gz
gentoo-8f672be663388bcc425aaaafb61e2799342395ef.tar.bz2
gentoo-8f672be663388bcc425aaaafb61e2799342395ef.zip
sci-libs/ginkgo: new package
This is a future reverse dependency of sci-libs/dealii Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Matthias Maier <tamiko@gentoo.org>
Diffstat (limited to 'sci-libs/ginkgo/ginkgo-9999.ebuild')
-rw-r--r--sci-libs/ginkgo/ginkgo-9999.ebuild46
1 files changed, 46 insertions, 0 deletions
diff --git a/sci-libs/ginkgo/ginkgo-9999.ebuild b/sci-libs/ginkgo/ginkgo-9999.ebuild
new file mode 100644
index 000000000000..3b9102d21654
--- /dev/null
+++ b/sci-libs/ginkgo/ginkgo-9999.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils
+
+DESCRIPTION="Numerical linear algebra software package"
+HOMEPAGE="https://ginkgo-project.github.io/"
+
+inherit git-r3
+EGIT_REPO_URI="https://github.com/ginkgo-project/ginkgo"
+SRC_URI=""
+KEYWORDS=""
+
+LICENSE="BSD-with-attribution"
+SLOT="0"
+IUSE=""
+
+# TODO: add slepc use flag once slepc is packaged for gentoo-science
+REQUIRED_USE=""
+
+RDEPEND=""
+
+DEPEND=""
+
+src_prepare() {
+ sed -i \
+ -e "s#\"lib\"#\"$(get_libdir)\"#g" \
+ -e "s#\"lib/#\"$(get_libdir)/#g" \
+ cmake/install_helpers.cmake || die "sed failed"
+
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+
+ local mycmakeargs=(
+ -DGINKGO_DEVEL_TOOLS=OFF
+ -DGINKGO_BUILD_TESTS=OFF
+ -DGINKGO_BUILD_BENCHMARKS=OFF
+ -DGINKGO_BUILD_REFERENCE=ON
+ -DGINKGO_BUILD_OMP=ON
+ )
+ cmake-utils_src_configure
+}