pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ocaml-ocplib-endian Added devel/ocaml-ocplib-end...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fa4794988095
branches:  trunk
changeset: 331482:fa4794988095
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Tue Mar 19 11:35:33 2019 +0000

description:
Added devel/ocaml-ocplib-endian, optimised int-to-string functions

diffstat:

 devel/ocaml-ocplib-endian/DESCR         |  11 +++++++++++
 devel/ocaml-ocplib-endian/Makefile      |  19 +++++++++++++++++++
 devel/ocaml-ocplib-endian/PLIST         |  28 ++++++++++++++++++++++++++++
 devel/ocaml-ocplib-endian/buildlink3.mk |  13 +++++++++++++
 devel/ocaml-ocplib-endian/distinfo      |   6 ++++++
 5 files changed, 77 insertions(+), 0 deletions(-)

diffs (97 lines):

diff -r 56eff7d735f6 -r fa4794988095 devel/ocaml-ocplib-endian/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ocplib-endian/DESCR   Tue Mar 19 11:35:33 2019 +0000
@@ -0,0 +1,11 @@
+Optimised functions to read and write int16/32/64 from strings, bytes and
+bigarrays, based on primitives added in version 4.01.
+
+The library implements three modules:
+
+* EndianString works directly on strings, and provides submodules BigEndian and
+  LittleEndian, with their unsafe counter-parts;
+* EndianBytes works directly on bytes, and provides submodules BigEndian and
+  LittleEndian, with their unsafe counter-parts;
+* EndianBigstring works on bigstrings (Bigarrays of chars), and provides
+  submodules BigEndian and LittleEndian, with their unsafe counter-parts.
diff -r 56eff7d735f6 -r fa4794988095 devel/ocaml-ocplib-endian/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ocplib-endian/Makefile        Tue Mar 19 11:35:33 2019 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2019/03/19 11:35:33 jaapb Exp $
+
+GITHUB_PROJECT=        ocplib-endian
+DISTNAME=      ${GITHUB_PROJECT}-1.0
+PKGNAME=       ocaml-${DISTNAME}
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=OCamlPro/}
+
+MAINTAINER=    jaapb%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/OCamlPro/ocplib-endian/
+COMMENT=       Optimised functions to read and write int16/32/64
+LICENSE=       gnu-lgpl-v2.1
+
+USE_LANGUAGES= # none
+OCAML_USE_OASIS=       yes
+
+.include "../../mk/ocaml.mk"
+.include "../../devel/ocaml-cppo/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 56eff7d735f6 -r fa4794988095 devel/ocaml-ocplib-endian/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ocplib-endian/PLIST   Tue Mar 19 11:35:33 2019 +0000
@@ -0,0 +1,28 @@
+@comment $NetBSD: PLIST,v 1.1 2019/03/19 11:35:33 jaapb Exp $
+${OCAML_SITELIB}/ocplib-endian/META
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocplib-endian/bigstring.a
+${OCAML_SITELIB}/ocplib-endian/bigstring.cma
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocplib-endian/bigstring.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocplib-endian/bigstring.cmxs
+${OCAML_SITELIB}/ocplib-endian/endianBigstring.annot
+${OCAML_SITELIB}/ocplib-endian/endianBigstring.cmi
+${OCAML_SITELIB}/ocplib-endian/endianBigstring.cmt
+${OCAML_SITELIB}/ocplib-endian/endianBigstring.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocplib-endian/endianBigstring.cmx
+${OCAML_SITELIB}/ocplib-endian/endianBigstring.mli
+${OCAML_SITELIB}/ocplib-endian/endianBytes.annot
+${OCAML_SITELIB}/ocplib-endian/endianBytes.cmi
+${OCAML_SITELIB}/ocplib-endian/endianBytes.cmt
+${OCAML_SITELIB}/ocplib-endian/endianBytes.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocplib-endian/endianBytes.cmx
+${OCAML_SITELIB}/ocplib-endian/endianBytes.mli
+${OCAML_SITELIB}/ocplib-endian/endianString.annot
+${OCAML_SITELIB}/ocplib-endian/endianString.cmi
+${OCAML_SITELIB}/ocplib-endian/endianString.cmt
+${OCAML_SITELIB}/ocplib-endian/endianString.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocplib-endian/endianString.cmx
+${OCAML_SITELIB}/ocplib-endian/endianString.mli
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocplib-endian/ocplib_endian.a
+${OCAML_SITELIB}/ocplib-endian/ocplib_endian.cma
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocplib-endian/ocplib_endian.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocplib-endian/ocplib_endian.cmxs
diff -r 56eff7d735f6 -r fa4794988095 devel/ocaml-ocplib-endian/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ocplib-endian/buildlink3.mk   Tue Mar 19 11:35:33 2019 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2019/03/19 11:35:33 jaapb Exp $
+
+BUILDLINK_TREE+=       ocaml-ocplib-endian
+
+.if !defined(OCAML_OCPLIB_ENDIAN_BUILDLINK3_MK)
+OCAML_OCPLIB_ENDIAN_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-ocplib-endian+=    ocaml-ocplib-endian>=1.0
+BUILDLINK_PKGSRCDIR.ocaml-ocplib-endian?=      ../../devel/ocaml-ocplib-endian
+
+.endif # OCAML_OCPLIB_ENDIAN_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -ocaml-ocplib-endian
diff -r 56eff7d735f6 -r fa4794988095 devel/ocaml-ocplib-endian/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ocplib-endian/distinfo        Tue Mar 19 11:35:33 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/03/19 11:35:33 jaapb Exp $
+
+SHA1 (ocplib-endian-1.0.tar.gz) = d9e8169cbbd02434801f9d84ccdea8df63cd7f47
+RMD160 (ocplib-endian-1.0.tar.gz) = a53f32a75f8fb3c5c2412aa0eb19c2b379e0045c
+SHA512 (ocplib-endian-1.0.tar.gz) = a08fd58ec5e72510c40e8b75e0ee8327ee658f479e45dd4632bc04e3907d04aaa3684df3b993ab63fc2a6c1f1a4fb32784e9b5258730d3b89a716300522d8d7f
+Size (ocplib-endian-1.0.tar.gz) = 62753 bytes



Home | Main Index | Thread Index | Old Index