summaryrefslogtreecommitdiff
path: root/math/p5-Math-BigInt-GMP
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2009-03-07 02:19:33 +0000
committerhubertf <hubertf@pkgsrc.org>2009-03-07 02:19:33 +0000
commit43a207a6ea84b0acf8b8c9bb932b6aab6a4e713c (patch)
tree443a26a65f94ca9f3df86f00f6d8d23d464d6173 /math/p5-Math-BigInt-GMP
parent867712b41327e1669757b7476c1f36aab5df52bb (diff)
downloadpkgsrc-43a207a6ea84b0acf8b8c9bb932b6aab6a4e713c.tar.gz
Add math/p5-Math-BigInt-GMP-1.23:
a libgmp-accelerated class for BigInt - needed to speed (and shut!) up p5-Net-SSH (on NetBSD...)
Diffstat (limited to 'math/p5-Math-BigInt-GMP')
-rw-r--r--math/p5-Math-BigInt-GMP/DESCR2
-rw-r--r--math/p5-Math-BigInt-GMP/Makefile19
-rw-r--r--math/p5-Math-BigInt-GMP/PLIST4
-rw-r--r--math/p5-Math-BigInt-GMP/distinfo6
-rw-r--r--math/p5-Math-BigInt-GMP/patches/patch-aa16
5 files changed, 47 insertions, 0 deletions
diff --git a/math/p5-Math-BigInt-GMP/DESCR b/math/p5-Math-BigInt-GMP/DESCR
new file mode 100644
index 00000000000..8404c7f682d
--- /dev/null
+++ b/math/p5-Math-BigInt-GMP/DESCR
@@ -0,0 +1,2 @@
+The Perl 5 module Math::GMP gives you access to the fast GMP library
+for fast big integer math.
diff --git a/math/p5-Math-BigInt-GMP/Makefile b/math/p5-Math-BigInt-GMP/Makefile
new file mode 100644
index 00000000000..4c265be8bf8
--- /dev/null
+++ b/math/p5-Math-BigInt-GMP/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/03/07 02:19:33 hubertf Exp $
+#
+
+DISTNAME= Math-BigInt-GMP-1.23
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= math perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Math/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Math-BigInt-GMP/
+COMMENT= Perl 5 module for arbitrary size integer math via the GMP library
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+PERL5_PACKLIST= auto/Math/BigInt/GMP/.packlist
+
+.include "../../devel/gmp/buildlink3.mk"
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/p5-Math-BigInt-GMP/PLIST b/math/p5-Math-BigInt-GMP/PLIST
new file mode 100644
index 00000000000..2c0e2a14e9b
--- /dev/null
+++ b/math/p5-Math-BigInt-GMP/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/03/07 02:19:33 hubertf Exp $
+lib/perl5/vendor_perl/5.10.0/${MACHINE_ARCH}-${LOWER_OPSYS}-thread-multi/auto/Math/BigInt/GMP/GMP.bs
+lib/perl5/vendor_perl/5.10.0/${MACHINE_ARCH}-${LOWER_OPSYS}-thread-multi/auto/Math/BigInt/GMP/GMP.so
+lib/perl5/vendor_perl/man/man3/Math::BigInt::GMP.3
diff --git a/math/p5-Math-BigInt-GMP/distinfo b/math/p5-Math-BigInt-GMP/distinfo
new file mode 100644
index 00000000000..714d69f0138
--- /dev/null
+++ b/math/p5-Math-BigInt-GMP/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/03/07 02:19:33 hubertf Exp $
+
+SHA1 (Math-BigInt-GMP-1.23.tar.gz) = cd6a783df0b49f4091a122e68318e5aab838756a
+RMD160 (Math-BigInt-GMP-1.23.tar.gz) = 4c9d530246ebbb69c35c13cf1bd4d8ab2b4c77e3
+Size (Math-BigInt-GMP-1.23.tar.gz) = 42945 bytes
+SHA1 (patch-aa) = 4a861fd398b19938345fad1b781ef34f2408c770
diff --git a/math/p5-Math-BigInt-GMP/patches/patch-aa b/math/p5-Math-BigInt-GMP/patches/patch-aa
new file mode 100644
index 00000000000..40116517ff7
--- /dev/null
+++ b/math/p5-Math-BigInt-GMP/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/03/07 02:19:33 hubertf Exp $
+
+From p5-Math-GMP/patches/patch-aa:
+
+Trick perl into emitting use of -lgmp. Actual library
+location will be handled via buildlink / wrapper.
+
+--- Makefile.PL.orig 2007-07-25 20:13:12.000000000 +0200
++++ Makefile.PL
+@@ -49,5 +49,5 @@ WriteMakefile(
+ Math::BigInt => 1.87,
+ XSLoader => 0.02,
+ },
+- 'LIBS' => ['-lgmp'],
++ 'LIBS' => ["-L$ENV{PREFIX}/lib -lgmp"],
+ );