summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorhwr <hwr@pkgsrc.org>1999-08-10 15:07:40 +0000
committerhwr <hwr@pkgsrc.org>1999-08-10 15:07:40 +0000
commit71a4879e3eec2eeb2188d4fa009a4b094d0b02f4 (patch)
tree815447648a604a7e3e145f911f98ac0d55d7c16d /math
parent82abcc45dc053b47a35dc9f418df20d0d2a1108d (diff)
downloadpkgsrc-71a4879e3eec2eeb2188d4fa009a4b094d0b02f4.tar.gz
Import of gmp, the GNU MP library for arbitrary precision arithmetic,
operating on signed integers, rational numbers, and floating point numbers.
Diffstat (limited to 'math')
-rw-r--r--math/gmp/Makefile13
-rw-r--r--math/gmp/pkg/COMMENT1
-rw-r--r--math/gmp/pkg/DESCR14
-rw-r--r--math/gmp/pkg/PLIST6
4 files changed, 34 insertions, 0 deletions
diff --git a/math/gmp/Makefile b/math/gmp/Makefile
new file mode 100644
index 00000000000..299a4ce72a1
--- /dev/null
+++ b/math/gmp/Makefile
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/08/10 15:07:40 hwr Exp $
+
+DISTNAME= gmp-2.0.2
+CATEGORIES= math
+MASTER_SITES= ftp://ftp.gnu.org/pub/gnu/gmp/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.gnu.org/software/gmp/gmp.html
+
+GNU_CONFIGURE= YES
+USE_LIBTOOL= YES
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/gmp/pkg/COMMENT b/math/gmp/pkg/COMMENT
new file mode 100644
index 00000000000..0d77e107cec
--- /dev/null
+++ b/math/gmp/pkg/COMMENT
@@ -0,0 +1 @@
+A library for arbitrary precision arithmetic.
diff --git a/math/gmp/pkg/DESCR b/math/gmp/pkg/DESCR
new file mode 100644
index 00000000000..9c6a0d2f473
--- /dev/null
+++ b/math/gmp/pkg/DESCR
@@ -0,0 +1,14 @@
+GNU MP is a library for arbitrary precision arithmetic, operating on
+signed integers, rational numbers, and floating point numbers. It has
+a rich set of functions, and the functions have a regular interface.
+
+GNU MP is designed to be as fast as possible, both for small operands
+and for huge operands. The speed is achieved by using fullwords as the
+basic arithmetic type, by using fast algorithms, by carefully optimized
+assembly code for the most common inner loops for a lot of CPUs, and by
+a general emphasis on speed (instead of simplicity or elegance).
+
+The speed of GNU MP is believed to be faster than any other similar
+library. The advantage for GNU MP increases with the operand sizes for
+certain operations, since GNU MP in many cases has asymptotically
+faster algorithms.
diff --git a/math/gmp/pkg/PLIST b/math/gmp/pkg/PLIST
new file mode 100644
index 00000000000..17af47902e5
--- /dev/null
+++ b/math/gmp/pkg/PLIST
@@ -0,0 +1,6 @@
+lib/libgmp.a
+include/gmp.h
+info/gmp.info
+info/gmp.info-1
+info/gmp.info-2
+info/gmp.info-3