diff options
author | jtb <jtb@pkgsrc.org> | 2000-11-26 17:50:22 +0000 |
---|---|---|
committer | jtb <jtb@pkgsrc.org> | 2000-11-26 17:50:22 +0000 |
commit | 8d931a078a99c091c2cee2b00c545c420312021e (patch) | |
tree | 4f14b937704abe26c99be3a8c068a52eda645244 /math | |
parent | 0fb6ee833a6323c2d17a139a24e2ecebca791ab1 (diff) | |
download | pkgsrc-8d931a078a99c091c2cee2b00c545c420312021e.tar.gz |
Initial import of new "randlib" package:
Library of C Routines for Random Number Generation
Diffstat (limited to 'math')
-rw-r--r-- | math/randlib/Makefile | 25 | ||||
-rw-r--r-- | math/randlib/files/Makefile | 20 | ||||
-rw-r--r-- | math/randlib/files/md5 | 3 | ||||
-rw-r--r-- | math/randlib/pkg/COMMENT | 1 | ||||
-rw-r--r-- | math/randlib/pkg/DESCR | 4 | ||||
-rw-r--r-- | math/randlib/pkg/PLIST | 15 |
6 files changed, 68 insertions, 0 deletions
diff --git a/math/randlib/Makefile b/math/randlib/Makefile new file mode 100644 index 00000000000..66cb91e77f0 --- /dev/null +++ b/math/randlib/Makefile @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/11/26 17:50:22 jtb Exp $ + +DISTNAME= randlib.c-1.3 +PKGNAME= randlib-1.3 +CATEGORIES= math +MASTER_SITES= ftp://odin.mdacc.tmc.edu/pub/source/ + +MAINTAINER= jtb@netbsd.org +HOMEPAGE= http://odin.mdacc.tmc.edu/anonftp/page_2.html + +USE_LIBTOOL= YES +WRKSRC= ${WRKDIR}/randlib.c/src + +post-patch: + ${CP} ${FILESDIR}/Makefile ${WRKSRC} + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/randlib + ${INSTALL_DATA} ${WRKSRC}/../README ${WRKSRC}/../doc/* \ + ${PREFIX}/share/doc/randlib + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/randlib + ${INSTALL_DATA} ${WRKSRC}/../test/* ${PREFIX}/share/examples/randlib + ${INSTALL_DATA} ${WRKSRC}/randlib.h ${PREFIX}/include + +.include "../../mk/bsd.pkg.mk" diff --git a/math/randlib/files/Makefile b/math/randlib/files/Makefile new file mode 100644 index 00000000000..db20fc70526 --- /dev/null +++ b/math/randlib/files/Makefile @@ -0,0 +1,20 @@ +LIB = randlib +LIBVERSION = 1:3:0 +LIBDIR = ${PREFIX}/lib + +OBJ= com.o randlib.o linpack.o + +all: lib$(LIB) + +lib$(LIB): $(OBJ) + @$(LIBTOOL) --mode=link $(CC) -O -o lib$(LIB).la $(OBJ:.o=.lo) \ + -rpath $(LIBDIR) -version-info $(LIBVERSION) + +.c.o: + @$(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c $*.c + +install: + @$(LIBTOOL) --mode=install install lib$(LIB).la $(LIBDIR) + +clean: + rm -rf *.o *.lo .libs $(LIB).la
\ No newline at end of file diff --git a/math/randlib/files/md5 b/math/randlib/files/md5 new file mode 100644 index 00000000000..a1a76a1e21a --- /dev/null +++ b/math/randlib/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2000/11/26 17:50:22 jtb Exp $ + +MD5 (randlib.c-1.3.tar.gz) = 1cd3a8f8424f43862199484e2c9668dd diff --git a/math/randlib/pkg/COMMENT b/math/randlib/pkg/COMMENT new file mode 100644 index 00000000000..47aa1def61e --- /dev/null +++ b/math/randlib/pkg/COMMENT @@ -0,0 +1 @@ +Library of C Routines for Random Number Generation diff --git a/math/randlib/pkg/DESCR b/math/randlib/pkg/DESCR new file mode 100644 index 00000000000..a6d2660cfc6 --- /dev/null +++ b/math/randlib/pkg/DESCR @@ -0,0 +1,4 @@ +This is the C version of the RANDLIB library. It includes numerous +routines for the generation of pseudo-random numbers of different +distributions including beta, chi-square, exponential, F, gamma, +multivariate, univariate, binomial, Poisson, etc. diff --git a/math/randlib/pkg/PLIST b/math/randlib/pkg/PLIST new file mode 100644 index 00000000000..aaf60ae2e80 --- /dev/null +++ b/math/randlib/pkg/PLIST @@ -0,0 +1,15 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2000/11/26 17:50:22 jtb Exp $ +include/randlib.h +lib/librandlib.a +lib/librandlib.la +lib/librandlib.so.1.3 +share/doc/randlib/Basegen.c.doc +share/doc/randlib/README +share/doc/randlib/randlib.c.chs +share/doc/randlib/randlib.c.fdoc +share/examples/randlib/randlib.h +share/examples/randlib/tstbot.c +share/examples/randlib/tstgmn.c +share/examples/randlib/tstmid.c +@dirrm share/examples/randlib +@dirrm share/doc/randlib |