From 1f52fbdc0cdee6ed4b50ef870d41384e1a2db9aa Mon Sep 17 00:00:00 2001 From: asau Date: Tue, 27 Jul 2010 17:09:45 +0000 Subject: 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. --- math/mpcomplex/DESCR | 3 +++ math/mpcomplex/Makefile | 22 ++++++++++++++++++++++ math/mpcomplex/PLIST | 4 ++++ math/mpcomplex/buildlink3.mk | 14 ++++++++++++++ math/mpcomplex/distinfo | 5 +++++ 5 files changed, 48 insertions(+) create mode 100644 math/mpcomplex/DESCR create mode 100644 math/mpcomplex/Makefile create mode 100644 math/mpcomplex/PLIST create mode 100644 math/mpcomplex/buildlink3.mk create mode 100644 math/mpcomplex/distinfo 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 -- cgit v1.2.3