diff options
author | drochner <drochner@pkgsrc.org> | 2004-07-22 17:33:28 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2004-07-22 17:33:28 +0000 |
commit | e9de37049b87eb74e50afb6e6171513d159fff5b (patch) | |
tree | 276e2e5a398d7422883940edfa74febd7d5d8970 | |
parent | 91d10dfd901e46f9454696ff24f9bb16bc981c1c (diff) | |
download | pkgsrc-e9de37049b87eb74e50afb6e6171513d159fff5b.tar.gz |
import mapm-4.9.2, another Arbitrary Precision Math library
(pretty complete, what I'm missing is just better rounding and
conversion support)
-rw-r--r-- | math/mapm/DESCR | 8 | ||||
-rw-r--r-- | math/mapm/Makefile | 26 | ||||
-rw-r--r-- | math/mapm/PLIST | 8 | ||||
-rw-r--r-- | math/mapm/distinfo | 4 |
4 files changed, 46 insertions, 0 deletions
diff --git a/math/mapm/DESCR b/math/mapm/DESCR new file mode 100644 index 00000000000..fae7a365222 --- /dev/null +++ b/math/mapm/DESCR @@ -0,0 +1,8 @@ +Mike's Arbitrary Precision Math Library is a set of functions that +allow the user to perform math to any level of accuracy that is +desired. +This library +will perform the following functions to any desired precision level : +SQRT, CBRT, SIN, COS, TAN, ARC-SIN, ARC-COS, ARC-TAN, ARC-TAN2, LOG, +LOG10, EXP, POW, SINH, COSH, TANH, ARC-SINH, ARC-COSH, ARC-TANH, and +also FACTORIAL. diff --git a/math/mapm/Makefile b/math/mapm/Makefile new file mode 100644 index 00000000000..597f89eb12a --- /dev/null +++ b/math/mapm/Makefile @@ -0,0 +1,26 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/07/22 17:33:28 drochner Exp $ +# + +DISTNAME= mapm-4.9.2 +CATEGORIES= math +MASTER_SITES= http://www.tc.umn.edu/~ringx004/ + +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://www.tc.umn.edu/~ringx004/ +COMMENT= Arbitrary Precision Math library + +WRKSRC= ${WRKDIR}/mapm_4.9.2 +USE_BUILDLINK3= yes + +DOCS= README algorithms.used function.ref + +do-install: + ${INSTALL_DATA} ${WRKSRC}/m_apm.h ${PREFIX}/include + ${INSTALL_DATA} ${WRKSRC}/libmapm.a ${PREFIX}/lib + ${INSTALL_PROGRAM} ${WRKSRC}/calc ${PREFIX}/bin/mapm-calc + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mapm + cd ${WRKSRC}; for f in ${DOCS}; do \ + ${INSTALL_DATA} $$f ${PREFIX}/share/doc/mapm; \ + done + +.include "../../mk/bsd.pkg.mk" diff --git a/math/mapm/PLIST b/math/mapm/PLIST new file mode 100644 index 00000000000..bc78a8f845d --- /dev/null +++ b/math/mapm/PLIST @@ -0,0 +1,8 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/22 17:33:28 drochner Exp $ +bin/mapm-calc +include/m_apm.h +lib/libmapm.a +share/doc/mapm/README +share/doc/mapm/algorithms.used +share/doc/mapm/function.ref +@dirrm share/doc/mapm diff --git a/math/mapm/distinfo b/math/mapm/distinfo new file mode 100644 index 00000000000..d417883db13 --- /dev/null +++ b/math/mapm/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/07/22 17:33:28 drochner Exp $ + +SHA1 (mapm-4.9.2.tar.gz) = e6270b4b88fb1e02acd5699c9c2d6c8a1824153d +Size (mapm-4.9.2.tar.gz) = 161575 bytes |