summaryrefslogtreecommitdiff
path: root/math/mtl/Makefile
diff options
context:
space:
mode:
authorjtb <jtb>2003-04-29 23:52:25 +0000
committerjtb <jtb>2003-04-29 23:52:25 +0000
commit8ad59f1d3a1f06460a90656574618b3d993f0084 (patch)
tree4767c81281dbc938b2807402c94558a014160a26 /math/mtl/Makefile
parent14bc94ea9f7e765934abeda863e87475763cf981 (diff)
downloadpkgsrc-8ad59f1d3a1f06460a90656574618b3d993f0084.tar.gz
Initial import of mtl.
The Matrix Template Library is a C++ class library for basic linear algebra. The MTL is designed for high-performance while at the same time taking advantage of the generic programming paradigm (ala the STL) to allow much greater flexibility and breadth of functionality. Many new and advanced programming techniques were used in the construction of this library. The MTL is a low level library in the sense that the user must be conscious of the matrix type being used, and that all computationally expensive operations are explicit. The MTL is not a C++ Matlab. Nevertheless, the interface is designed to be simple and easy to use. The matrix types provided include compressed sparse row/column, banded, packed, diagonal (and tridiagonal), envelope, array of pointers, and of course dense matrices. All matrix types share a common and easy to use interface. The algorithms consist of the traditional basic linear algebra routines (from the BLAS level-1 to 3) which includes matrix and vector arithmetic as well as operations such as backward substitution and norm calculations.
Diffstat (limited to 'math/mtl/Makefile')
-rw-r--r--math/mtl/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/math/mtl/Makefile b/math/mtl/Makefile
new file mode 100644
index 00000000000..9c351b36f45
--- /dev/null
+++ b/math/mtl/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/04/29 23:52:25 jtb Exp $
+
+DISTNAME= mtl-2.1.2-21
+CATEGORIES= math devel
+MASTER_SITES= http://www.osl.iu.edu/download/research/mtl/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.osl.iu.edu/research/mtl/
+COMMENT= Matrix Template Library
+
+USE_BUILDLINK2= yes
+GNU_CONFIGURE= yes
+NO_BUILD= yes
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mtl
+ ${INSTALL_DATA} ${WRKSRC}/contrib/examples/*.cc \
+ ${PREFIX}/share/examples/mtl
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mtl
+ cd ${WRKSRC} && ${INSTALL_DATA} INSTALL LICENSE README \
+ ${PREFIX}/share/doc/mtl
+
+.include "../../mk/bsd.pkg.mk"