mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
sci-libs/ButterflyPACK: new package, add 2.1.0
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
44
sci-libs/ButterflyPACK/ButterflyPACK-2.1.0.ebuild
Normal file
44
sci-libs/ButterflyPACK/ButterflyPACK-2.1.0.ebuild
Normal file
@@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake fortran-2
|
||||
|
||||
DESCRIPTION="Mathematical software for solving large-scale dense linear systems"
|
||||
HOMEPAGE="https://github.com/liuyangzhuan/ButterflyPACK"
|
||||
SRC_URI="https://github.com/liuyangzhuan/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="arpack magma"
|
||||
|
||||
RDEPEND="
|
||||
sci-libs/scalapack
|
||||
virtual/blas
|
||||
virtual/lapack
|
||||
virtual/mpi
|
||||
|
||||
arpack? ( sci-libs/arpack )
|
||||
magma? ( sci-libs/magma )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS=( README.md CHANGELOG )
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
|
||||
-DTPL_ARPACK_LIBRARIES=$(usex arpack)
|
||||
-DTPL_MAGMA_LIBRARIES=$(usex magma)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
insinto "/usr/share/octave/site/m/${PN}"
|
||||
doins -r MATLAB/*
|
||||
}
|
||||
Reference in New Issue
Block a user