summaryrefslogtreecommitdiff
path: root/math/eispack
diff options
context:
space:
mode:
authorjtb <jtb>2000-11-30 01:46:18 +0000
committerjtb <jtb>2000-11-30 01:46:18 +0000
commitfd8efe15c73c1d174f0a2f208a9f4fe949a03611 (patch)
tree9b4e45d770850b389bcdf13d6f92cde4ded67ec5 /math/eispack
parentfe7cb5fef98b4c1dd91a4549f52475dc1e94575e (diff)
downloadpkgsrc-fd8efe15c73c1d174f0a2f208a9f4fe949a03611.tar.gz
Initial import of new "eispack" package:
Fortran routines for the solution of eigenvalue problems
Diffstat (limited to 'math/eispack')
-rw-r--r--math/eispack/Makefile21
-rw-r--r--math/eispack/files/Makefile32
-rw-r--r--math/eispack/files/md53
-rw-r--r--math/eispack/pkg/COMMENT1
-rw-r--r--math/eispack/pkg/DESCR7
-rw-r--r--math/eispack/pkg/PLIST4
6 files changed, 68 insertions, 0 deletions
diff --git a/math/eispack/Makefile b/math/eispack/Makefile
new file mode 100644
index 00000000000..8af4f21b62b
--- /dev/null
+++ b/math/eispack/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/11/30 01:46:18 jtb Exp $
+
+DISTNAME= eispack-20001129
+CATEGORIES= math
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+
+MAINTAINER= jtb@netbsd.org
+
+WRKSRC= ${WRKDIR}/eispack
+USE_LIBTOOL= YES
+UES_FORTRAN= YES
+
+FOPTS?= -O3
+
+.include "../../mk/bsd.prefs.mk"
+
+pre-build:
+ @${SED} -e 's:%%FORTRAN%%:'${FC}':g;s:%%FOPTS%%:'${FOPTS}':g' \
+ < ${FILESDIR}/Makefile > ${WRKSRC}/Makefile
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/eispack/files/Makefile b/math/eispack/files/Makefile
new file mode 100644
index 00000000000..439c26aaddd
--- /dev/null
+++ b/math/eispack/files/Makefile
@@ -0,0 +1,32 @@
+LIB = eispack
+LIBDIR = ${PREFIX}/lib
+
+FORTRAN = %%FORTRAN%%
+FOPTS = %%FOPTS%%
+
+all: lib$(LIB)
+
+OBJ = csroot.o epslon.o pythag.o bakvec.o balanc.o balbak.o bandr.o \
+ bandv.o bisect.o bqr.o cbabk2.o cbal.o cg.o ch.o cinvit.o \
+ combak.o comhes.o comlr.o comlr2.o comqr.o comqr2.o cortb.o \
+ corth.o elmbak.o elmhes.o eltran.o figi.o figi2.o hqr.o hqr2.o \
+ htrib3.o htribk.o htrid3.o htridi.o imtql1.o imtql2.o imtqlv.o \
+ invit.o minfit.o ortbak.o orthes.o ortran.o qzhes.o \
+ qzit.o qzval.o qzvec.o ratqr.o rebak.o rebakb.o reduc.o \
+ reduc2.o rg.o rgg.o rs.o rsb.o rsg.o rsgab.o rsgba.o rsm.o \
+ rsp.o rst.o rt.o svd.o tinvit.o tql1.o tql2.o tqlrat.o \
+ trbak1.o trbak3.o tred1.o tred2.o tred3.o tridib.o tsturm.o \
+ cdiv.o
+
+lib$(LIB): $(OBJ)
+ @$(LIBTOOL) --mode=link $(FORTRAN) $(FFLAGS) $(FOPTS) \
+ -O -o lib$(LIB).la $(OBJ:.o=.lo) -rpath $(LIBDIR)
+
+.f.o:
+ @$(LIBTOOL) --mode=compile $(FORTRAN) $(FFLAGS) $(FOPTS) -c $*.f
+
+install: lib$(LIB)
+ @$(LIBTOOL) --mode=install install -c lib$(LIB).la $(LIBDIR)
+
+clean:
+ rm -rf *.o *.lo .libs lib$(LIB).la
diff --git a/math/eispack/files/md5 b/math/eispack/files/md5
new file mode 100644
index 00000000000..9ac580aa14a
--- /dev/null
+++ b/math/eispack/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/11/30 01:46:18 jtb Exp $
+
+MD5 (eispack-20001129.tar.gz) = d38daa3eb4a9fc6e4fa38d5634688da2
diff --git a/math/eispack/pkg/COMMENT b/math/eispack/pkg/COMMENT
new file mode 100644
index 00000000000..1b136f01077
--- /dev/null
+++ b/math/eispack/pkg/COMMENT
@@ -0,0 +1 @@
+Fortran routines for the solution of eigenvalue problems
diff --git a/math/eispack/pkg/DESCR b/math/eispack/pkg/DESCR
new file mode 100644
index 00000000000..3287807b045
--- /dev/null
+++ b/math/eispack/pkg/DESCR
@@ -0,0 +1,7 @@
+EISPACK is a collection of double-precision Fortran subroutines that
+compute the eigenvalues and eigenvectors of nine classes of matrices:
+complex general, complex Hermitian, real general, real symmetric, real
+symmetric banded, real symmetric tridiagonal, special real
+tridiagonal, generalized real, and generalized real symmetric matices.
+In addition, two routines are included that use singular value
+decomposition to solve certain least-squares problems.
diff --git a/math/eispack/pkg/PLIST b/math/eispack/pkg/PLIST
new file mode 100644
index 00000000000..43546f0f62b
--- /dev/null
+++ b/math/eispack/pkg/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/11/30 01:46:18 jtb Exp $
+lib/libeispack.a
+lib/libeispack.la
+lib/libeispack.so.0.0