pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/p5-Math-BigInt-GMP Add math/p5-Math-BigInt-GMP-1.23:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e56dbc409ed0
branches:  trunk
changeset: 555700:e56dbc409ed0
user:      hubertf <hubertf%pkgsrc.org@localhost>
date:      Sat Mar 07 02:19:33 2009 +0000

description:
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:

 math/p5-Math-BigInt-GMP/DESCR            |   2 ++
 math/p5-Math-BigInt-GMP/Makefile         |  19 +++++++++++++++++++
 math/p5-Math-BigInt-GMP/PLIST            |   4 ++++
 math/p5-Math-BigInt-GMP/distinfo         |   6 ++++++
 math/p5-Math-BigInt-GMP/patches/patch-aa |  16 ++++++++++++++++
 5 files changed, 47 insertions(+), 0 deletions(-)

diffs (67 lines):

diff -r e1dc1e0a986c -r e56dbc409ed0 math/p5-Math-BigInt-GMP/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/p5-Math-BigInt-GMP/DESCR     Sat Mar 07 02:19:33 2009 +0000
@@ -0,0 +1,2 @@
+The Perl 5 module Math::GMP gives you access to the fast GMP library
+for fast big integer math.
diff -r e1dc1e0a986c -r e56dbc409ed0 math/p5-Math-BigInt-GMP/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/p5-Math-BigInt-GMP/Makefile  Sat Mar 07 02:19:33 2009 +0000
@@ -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@localhost
+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 -r e1dc1e0a986c -r e56dbc409ed0 math/p5-Math-BigInt-GMP/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/p5-Math-BigInt-GMP/PLIST     Sat Mar 07 02:19:33 2009 +0000
@@ -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 -r e1dc1e0a986c -r e56dbc409ed0 math/p5-Math-BigInt-GMP/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/p5-Math-BigInt-GMP/distinfo  Sat Mar 07 02:19:33 2009 +0000
@@ -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 -r e1dc1e0a986c -r e56dbc409ed0 math/p5-Math-BigInt-GMP/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/p5-Math-BigInt-GMP/patches/patch-aa  Sat Mar 07 02:19:33 2009 +0000
@@ -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"],
+ );



Home | Main Index | Thread Index | Old Index