summaryrefslogtreecommitdiff
path: root/math/superlu/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/superlu/Makefile')
-rw-r--r--math/superlu/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/math/superlu/Makefile b/math/superlu/Makefile
new file mode 100644
index 00000000000..98b2d95209d
--- /dev/null
+++ b/math/superlu/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/02/02 01:24:09 jtb Exp $
+
+DISTNAME= superlu_2.0
+PKGNAME= superlu-2.0
+CATEGORIES= math
+MASTER_SITES= http://www.nersc.gov/~xiaoye/SuperLU/
+
+MAINTAINER= jtb@netbsd.org
+HOMEPAGE= http://www.nersc.gov/~xiaoye/SuperLU/
+
+DEPENDS+= blas-[0-9]*:../../math/blas
+
+WRKSRC= ${WRKDIR}/SuperLU
+EVAL_PREFIX+= BLAS_PREFIX=blas
+ALL_TARGET= superlulib
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/libsuperlu.a ${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/SRC/supermatrix.h ${PREFIX}/include
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/superlu
+ ${INSTALL_DATA} ${WRKSRC}/INSTALL/ug.ps ${PREFIX}/share/doc/superlu
+
+.include "../../mk/bsd.pkg.mk"