summaryrefslogtreecommitdiff
path: root/math/arpack-ng
diff options
context:
space:
mode:
authorplunky <plunky@pkgsrc.org>2020-02-28 21:51:40 +0000
committerplunky <plunky@pkgsrc.org>2020-02-28 21:51:40 +0000
commiteb1928f5be861c84f1d40659f6fbffba6840ffb7 (patch)
treed128070e944461098de455fe6a4cf96a1487cf02 /math/arpack-ng
parent50949172db0401f59ac7f522317c3e814543164e (diff)
downloadpkgsrc-eb1928f5be861c84f1d40659f6fbffba6840ffb7.tar.gz
Add arpack-ng 3.7.0
This project started as a joint project between Debian, Octave and Scilab in order to provide a common and maintained version of arpack, as no single release has been published by Rice university for the last few years and many software (Octave, Scilab, R, Matlab...) forked it and implemented their own modifications.
Diffstat (limited to 'math/arpack-ng')
-rw-r--r--math/arpack-ng/DESCR20
-rw-r--r--math/arpack-ng/Makefile31
-rw-r--r--math/arpack-ng/PLIST9
-rw-r--r--math/arpack-ng/buildlink3.mk12
-rw-r--r--math/arpack-ng/distinfo6
5 files changed, 78 insertions, 0 deletions
diff --git a/math/arpack-ng/DESCR b/math/arpack-ng/DESCR
new file mode 100644
index 00000000000..998be41a034
--- /dev/null
+++ b/math/arpack-ng/DESCR
@@ -0,0 +1,20 @@
+ARPACK-NG is a collection of Fortran77 subroutines designed to solve large
+scale eigenvalue problems.
+
+Important Features:
+
+ o Reverse Communication Interface.
+ o Single and Double Precision Real Arithmetic Versions for Symmetric,
+ Non-symmetric, Standard or Generalized Problems.
+ o Single and Double Precision Complex Arithmetic Versions for Standard
+ or Generalized Problems.
+ o Routines for Banded Matrices - Standard or Generalized Problems.
+ o Routines for The Singular Value Decomposition.
+ o Example driver routines that may be used as templates to implement
+ numerous Shift-Invert strategies for all problem types, data types
+ and precision.
+ o ILP64 support
+
+No arpack release has been published by Rice University for many years, and
+arpack-ng aims to provide a common repository of community fixes with a
+testsuite.
diff --git a/math/arpack-ng/Makefile b/math/arpack-ng/Makefile
new file mode 100644
index 00000000000..9f9bf994762
--- /dev/null
+++ b/math/arpack-ng/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1 2020/02/28 21:51:40 plunky Exp $
+
+DISTNAME= arpack-ng-3.7.0
+CATEGORIES= math
+MASTER_SITES= ${MASTER_SITE_GITHUB:=opencollab/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/opencollab/arpack-ng
+COMMENT= Library of subroutines to solve eigenvalue problems
+LICENSE= original-bsd
+
+USE_LANGUAGES= c fortran
+USE_CMAKE= yes
+
+OBJDIR= obj
+
+CONFIGURE_DIRS= ${OBJDIR}
+
+CMAKE_ARG_PATH= ..
+CMAKE_ARGS+= -DBUILD_SHARED_LIBS:BOOL=ON
+
+TEST_TARGET= test
+
+pre-configure:
+ cd ${WRKSRC} && ${MKDIR} ${OBJDIR}
+
+INSTALLATION_DIRS= lib
+
+.include "../../math/blas/buildlink3.mk"
+.include "../../math/lapack/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/arpack-ng/PLIST b/math/arpack-ng/PLIST
new file mode 100644
index 00000000000..f224fa7b61b
--- /dev/null
+++ b/math/arpack-ng/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1 2020/02/28 21:51:40 plunky Exp $
+include/arpack/arpackdef.h
+include/arpack/debug.h
+include/arpack/stat.h
+lib/cmake/arpack-ng-config-version.cmake
+lib/cmake/arpack-ng-config.cmake
+lib/libarpack.so
+lib/libarpack.so.2
+lib/libarpack.so.2.1.0
diff --git a/math/arpack-ng/buildlink3.mk b/math/arpack-ng/buildlink3.mk
new file mode 100644
index 00000000000..276fd7e3c52
--- /dev/null
+++ b/math/arpack-ng/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/02/28 21:51:40 plunky Exp $
+
+BUILDLINK_TREE+= arpack-ng
+
+.if !defined(ARPACK_NG_BUILDLINK3_MK)
+ARPACK_NG_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.arpack-ng+= arpack-ng>=3.7.0
+BUILDLINK_PKGSRCDIR.arpack-ng?= ../../math/arpack-ng
+.endif # ARPACK_NG_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -arpack-ng
diff --git a/math/arpack-ng/distinfo b/math/arpack-ng/distinfo
new file mode 100644
index 00000000000..44981d0b959
--- /dev/null
+++ b/math/arpack-ng/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/02/28 21:51:40 plunky Exp $
+
+SHA1 (arpack-ng-3.7.0.tar.gz) = cb5a6e1f3c5ab231440bbe30f4a0808d76215e93
+RMD160 (arpack-ng-3.7.0.tar.gz) = 3723107ce8e082d2e4d78c237be9dd62d51303b6
+SHA512 (arpack-ng-3.7.0.tar.gz) = cc07cdd1fba4881907b507ff6b6c9bce9e3dadd8ef744194f08ee718a6210c039ac0c51c12edd720503f8e59bcd11c178fc323e1a59696be8c3b8262cf47a452
+Size (arpack-ng-3.7.0.tar.gz) = 989570 bytes