pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/ocaml-ocplib-endian



Module Name:    pkgsrc
Committed By:   jaapb
Date:           Tue Mar 19 11:35:33 UTC 2019

Added Files:
        pkgsrc/devel/ocaml-ocplib-endian: DESCR Makefile PLIST buildlink3.mk
            distinfo

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


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/ocaml-ocplib-endian/DESCR \
    pkgsrc/devel/ocaml-ocplib-endian/Makefile \
    pkgsrc/devel/ocaml-ocplib-endian/PLIST \
    pkgsrc/devel/ocaml-ocplib-endian/buildlink3.mk \
    pkgsrc/devel/ocaml-ocplib-endian/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/ocaml-ocplib-endian/DESCR
diff -u /dev/null pkgsrc/devel/ocaml-ocplib-endian/DESCR:1.1
--- /dev/null   Tue Mar 19 11:35:33 2019
+++ pkgsrc/devel/ocaml-ocplib-endian/DESCR      Tue Mar 19 11:35:33 2019
@@ -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.
Index: pkgsrc/devel/ocaml-ocplib-endian/Makefile
diff -u /dev/null pkgsrc/devel/ocaml-ocplib-endian/Makefile:1.1
--- /dev/null   Tue Mar 19 11:35:33 2019
+++ pkgsrc/devel/ocaml-ocplib-endian/Makefile   Tue Mar 19 11:35:33 2019
@@ -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"
Index: pkgsrc/devel/ocaml-ocplib-endian/PLIST
diff -u /dev/null pkgsrc/devel/ocaml-ocplib-endian/PLIST:1.1
--- /dev/null   Tue Mar 19 11:35:33 2019
+++ pkgsrc/devel/ocaml-ocplib-endian/PLIST      Tue Mar 19 11:35:33 2019
@@ -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
Index: pkgsrc/devel/ocaml-ocplib-endian/buildlink3.mk
diff -u /dev/null pkgsrc/devel/ocaml-ocplib-endian/buildlink3.mk:1.1
--- /dev/null   Tue Mar 19 11:35:33 2019
+++ pkgsrc/devel/ocaml-ocplib-endian/buildlink3.mk      Tue Mar 19 11:35:33 2019
@@ -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
Index: pkgsrc/devel/ocaml-ocplib-endian/distinfo
diff -u /dev/null pkgsrc/devel/ocaml-ocplib-endian/distinfo:1.1
--- /dev/null   Tue Mar 19 11:35:33 2019
+++ pkgsrc/devel/ocaml-ocplib-endian/distinfo   Tue Mar 19 11:35:33 2019
@@ -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