pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/fgmp Initial import of Mark Henderson's multi-pre...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c49f5451365d
branches:  trunk
changeset: 523175:c49f5451365d
user:      agc <agc%pkgsrc.org@localhost>
date:      Wed Jan 03 07:53:37 2007 +0000

description:
Initial import of Mark Henderson's multi-precision maths (hello mid-Atlantic
divide) fgmp-1.0b5 routines into the Packages Collection:

        FGMP is Mark Henderson's public domain implementation of a subset of
        the GNU gmp library with the same API.  The fgmp library also includes
        a couple of extra routines.

diffstat:

 math/fgmp/DESCR            |   3 +++
 math/fgmp/Makefile         |  28 ++++++++++++++++++++++++++++
 math/fgmp/PLIST            |   3 +++
 math/fgmp/distinfo         |   6 ++++++
 math/fgmp/patches/patch-aa |  14 ++++++++++++++
 5 files changed, 54 insertions(+), 0 deletions(-)

diffs (74 lines):

diff -r 58d7977fcf6c -r c49f5451365d math/fgmp/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/fgmp/DESCR   Wed Jan 03 07:53:37 2007 +0000
@@ -0,0 +1,3 @@
+FGMP is Mark Henderson's public domain implementation of a subset of
+the GNU gmp library with the same API.  The fgmp library also includes
+a couple of extra routines.
diff -r 58d7977fcf6c -r c49f5451365d math/fgmp/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/fgmp/Makefile        Wed Jan 03 07:53:37 2007 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/01/03 07:53:37 agc Exp $
+
+DISTNAME=      fgmp-1.0b5-src-10.10
+PKGNAME=       fgmp-1.0b5
+CATEGORIES=    math
+MASTER_SITES=  http://hpux.cs.utah.edu/hppd/cgi-bin/redirect?hpux/Maths/Misc/fgmp-1.0b5/
+
+MAINTAINER=    pkgsrc-user%NetBSD.org@localhost
+HOMEPAGE=      http://hpux.cs.utah.edu/hppd/hpux/Maths/Misc/fgmp-1.0b5/
+COMMENT=       Minimalist free re-implementation of GNU multi-precision routines
+
+WRKSRC=                ${WRKDIR}/${PKGNAME_NOREV}
+USE_LIBTOOL=   yes
+
+do-configure:;
+
+do-build:
+       cd ${WRKSRC} && (                                               \
+               ${LIBTOOL} --mode=compile ${CC} -O -c gmp.c;            \
+               ${LIBTOOL} --mode=link ${CC} -o libfgmp.la gmp.lo       \
+                       -rpath ${PREFIX}/lib -version-info 1:0;         \
+       )
+
+do-install:
+       cd ${WRKSRC} && ${LIBTOOL} --mode=install ${INSTALL_LIB} libfgmp.la ${PREFIX}/lib
+       ${INSTALL_DATA} ${WRKSRC}/gmp.h ${PREFIX}/include/fgmp.h
+
+.include "../../mk/bsd.pkg.mk"
diff -r 58d7977fcf6c -r c49f5451365d math/fgmp/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/fgmp/PLIST   Wed Jan 03 07:53:37 2007 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/01/03 07:53:37 agc Exp $
+include/fgmp.h
+lib/libfgmp.la
diff -r 58d7977fcf6c -r c49f5451365d math/fgmp/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/fgmp/distinfo        Wed Jan 03 07:53:37 2007 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/01/03 07:53:37 agc Exp $
+
+SHA1 (fgmp-1.0b5-src-10.10.tar.gz) = ff34ef4033958ad3ad130b74aea8b7e16acfb6bc
+RMD160 (fgmp-1.0b5-src-10.10.tar.gz) = b85db676643fab4b5af18372fb719b6946cf11cf
+Size (fgmp-1.0b5-src-10.10.tar.gz) = 13429 bytes
+SHA1 (patch-aa) = 78b2dc3acd641e9b5b96e7de2f4ab12d71028ed1
diff -r 58d7977fcf6c -r c49f5451365d math/fgmp/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/fgmp/patches/patch-aa        Wed Jan 03 07:53:37 2007 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/01/03 07:53:37 agc Exp $
+
+Silence compiler warnings
+
+--- gmp.h      2006/12/29 14:27:44     1.1
++++ gmp.h      2006/12/29 14:28:02
+@@ -21,6 +21,7 @@
+  */
+ 
+ #include <stdio.h>
++#include <string.h>
+ #include <sys/types.h>
+ 
+ /* for malloc and free */



Home | Main Index | Thread Index | Old Index