summaryrefslogtreecommitdiff
path: root/math/mpcomplex
diff options
context:
space:
mode:
authorasau <asau@pkgsrc.org>2010-07-27 17:09:45 +0000
committerasau <asau@pkgsrc.org>2010-07-27 17:09:45 +0000
commit6e4eeb7f12390f8794cfcee0607ab74bf91e3887 (patch)
treee07758a513c94364d05384f138c867ddd514a626 /math/mpcomplex
parent8c4754ee05bb86e5dd12d2e04c699b58434cb1cd (diff)
downloadpkgsrc-6e4eeb7f12390f8794cfcee0607ab74bf91e3887.tar.gz
Import MPC (multiprecision complex arithmetic library) version 0.8.2
as math/mpcomplex. Packaged by Marko Schuetz for pkgsrc-wip. MPC is a C library for the arithmetic of complex numbers with arbitrarily high precision and correct rounding of the result. It is built upon and follows the same principles as MPFR.
Diffstat (limited to 'math/mpcomplex')
-rw-r--r--math/mpcomplex/DESCR3
-rw-r--r--math/mpcomplex/Makefile22
-rw-r--r--math/mpcomplex/PLIST4
-rw-r--r--math/mpcomplex/buildlink3.mk14
-rw-r--r--math/mpcomplex/distinfo5
5 files changed, 48 insertions, 0 deletions
diff --git a/math/mpcomplex/DESCR b/math/mpcomplex/DESCR
new file mode 100644
index 00000000000..8dd4efde106
--- /dev/null
+++ b/math/mpcomplex/DESCR
@@ -0,0 +1,3 @@
+MPC is a C library for the arithmetic of complex numbers with
+arbitrarily high precision and correct rounding of the result.
+It is built upon and follows the same principles as MPFR.
diff --git a/math/mpcomplex/Makefile b/math/mpcomplex/Makefile
new file mode 100644
index 00000000000..658a8038836
--- /dev/null
+++ b/math/mpcomplex/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/07/27 17:09:45 asau Exp $
+
+DISTNAME= mpc-0.8.2
+PKGNAME= mpcomplex-0.8.2
+CATEGORIES= math
+MASTER_SITES= http://www.multiprecision.org/mpc/download/
+
+MAINTAINER= MarkoSchuetz@web.de
+HOMEPAGE= http://www.multiprecision.org/mpc/
+COMMENT= Multiprecision complex arithmetic library
+LICENSE= gnu-lgpl-v2.1
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+INFO_FILES= yes
+
+TEST_TARGET= check
+
+.include "../../math/mpfr/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/mpcomplex/PLIST b/math/mpcomplex/PLIST
new file mode 100644
index 00000000000..c88b7abaa58
--- /dev/null
+++ b/math/mpcomplex/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/07/27 17:09:45 asau Exp $
+include/mpc.h
+lib/libmpc.la
+info/mpc.info
diff --git a/math/mpcomplex/buildlink3.mk b/math/mpcomplex/buildlink3.mk
new file mode 100644
index 00000000000..f53fed1a5c5
--- /dev/null
+++ b/math/mpcomplex/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2010/07/27 17:09:45 asau Exp $
+
+BUILDLINK_TREE+= mpcomplex
+
+.if !defined(MPCOMPLEX_BUILDLINK3_MK)
+MPCOMPLEX_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.mpcomplex+= mpcomplex>=0.8.2
+BUILDLINK_PKGSRCDIR.mpcomplex?= ../../math/mpcomplex
+
+.include "../../math/mpfr/buildlink3.mk"
+.endif # MPCOMPLEX_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -mpcomplex
diff --git a/math/mpcomplex/distinfo b/math/mpcomplex/distinfo
new file mode 100644
index 00000000000..cde4891a2b4
--- /dev/null
+++ b/math/mpcomplex/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/07/27 17:09:45 asau Exp $
+
+SHA1 (mpc-0.8.2.tar.gz) = 339550cedfb013b68749cd47250cd26163b9edd4
+RMD160 (mpc-0.8.2.tar.gz) = 3238da25077acee35423c7bd820806f537784114
+Size (mpc-0.8.2.tar.gz) = 548401 bytes