mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
94 lines
2.3 KiB
Bash
94 lines
2.3 KiB
Bash
SUMMARY="Arnoldi package library to solve large scale eigenvalue problems"
|
|
DESCRIPTION="ARPACK-NG is a collection of Fortran77 subroutines designed to \
|
|
solve large scale eigenvalue problems.
|
|
|
|
Important Features:
|
|
|
|
* Reverse Communication Interface.
|
|
* Single and Double Precision Real Arithmetic Versions for Symmetric, \
|
|
Non-symmetric, Standard or Generalized Problems.
|
|
* Single and Double Precision Complex Arithmetic Versions for Standard or \
|
|
Generalized Problems.
|
|
* Routines for Banded Matrices - Standard or Generalized Problems.
|
|
* Routines for The Singular Value Decomposition.
|
|
* Example driver routines that may be used as templates to implement numerous \
|
|
Shift-Invert strategies for all problem types, data types and precision."
|
|
HOMEPAGE="https://github.com/opencollab/arpack-ng"
|
|
COPYRIGHT="1996-2008 Rice University
|
|
2001-2011 Scilab Enterprises
|
|
2010 Jordi Guti\érrez Hermoso
|
|
2007 S\ébastien Fabbro"
|
|
LICENSE="BSD (3-clause)"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/opencollab/arpack-ng/archive/$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="50f7a3e3aec2e08e732a487919262238f8504c3ef927246ec3495617dde81239"
|
|
SOURCE_DIR="arpack-ng-$portVersion"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
arpack$secondaryArchSuffix = $portVersion
|
|
lib:libarpack$secondaryArchSuffix = 2.0.0 compat >= 2
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libgfortran$secondaryArchSuffix
|
|
lib:liblapack$secondaryArchSuffix
|
|
lib:libopenblas$secondaryArchSuffix
|
|
lib:libquadmath$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
arpack${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libarpack$secondaryArchSuffix = 2.0.0 compat >= 2
|
|
"
|
|
REQUIRES_devel="
|
|
arpack$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libgfortran$secondaryArchSuffix
|
|
devel:liblapack$secondaryArchSuffix
|
|
devel:libopenblas$secondaryArchSuffix
|
|
devel:libquadmath$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:cmake
|
|
cmd:make
|
|
cmd:gfortran$secondaryArchSuffix
|
|
cmd:g++$secondaryArchSuffix
|
|
"
|
|
|
|
defineDebugInfoPackage arpack$secondaryArchSuffix \
|
|
$libDir/libarpack.so.2.0.0
|
|
|
|
BUILD()
|
|
{
|
|
mkdir -p build
|
|
cd build
|
|
cmake .. \
|
|
-DBUILD_SHARED_LIBS=ON \
|
|
$cmakeDirArgs
|
|
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
cd build
|
|
make install
|
|
|
|
prepareInstalledDevelLib libarpack
|
|
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
cd build
|
|
make check
|
|
}
|