2022-02-05 15:39:19 -05:00
|
|
|
# Description: Fortran77 subroutines for solving large scale eigenvalue problems
|
|
|
|
# URL: https://github.com/opencollab/arpack-ng
|
|
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
2022-04-26 07:51:12 -04:00
|
|
|
# Depends on: lapack
|
2022-02-05 15:39:19 -05:00
|
|
|
|
|
|
|
name=arpack
|
2023-02-11 20:58:06 -05:00
|
|
|
version=3.9.0
|
2022-02-05 15:39:19 -05:00
|
|
|
release=1
|
|
|
|
source=(https://github.com/opencollab/arpack-ng/archive/refs/tags/$version.tar.gz)
|
|
|
|
renames=($name-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
2023-02-11 20:58:06 -05:00
|
|
|
mkdir build && cd build
|
2022-02-05 15:39:19 -05:00
|
|
|
|
2023-02-11 20:58:06 -05:00
|
|
|
cmake -DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
|
|
-DCMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -fPIC" \
|
|
|
|
-DCMAKE_C_FLAGS_RELEASE="$CFLAGS -fPIC" \
|
|
|
|
-DCMAKE_Fortran_FLAGS="$CFLAGS -fPIC" \
|
|
|
|
-DBUILD_SHARED_LIBS=on \
|
|
|
|
-DEXAMPLES=off \
|
|
|
|
-DMPI=off \
|
|
|
|
../$name-ng-$version
|
|
|
|
|
|
|
|
cmake --build .
|
|
|
|
make DESTDIR=$PKG install
|
2022-02-05 15:39:19 -05:00
|
|
|
}
|