pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/ocaml-bigstringaf Added devel/ocaml-bigstringaf, ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/dc071f5a73a4
branches: trunk
changeset: 320871:dc071f5a73a4
user: jaapb <jaapb%pkgsrc.org@localhost>
date: Tue Mar 12 18:09:29 2019 +0000
description:
Added devel/ocaml-bigstringaf, bigstring intrinsics and fast blits
diffstat:
devel/ocaml-bigstringaf/DESCR | 7 +++++++
devel/ocaml-bigstringaf/Makefile | 19 +++++++++++++++++++
devel/ocaml-bigstringaf/PLIST | 20 ++++++++++++++++++++
devel/ocaml-bigstringaf/buildlink3.mk | 13 +++++++++++++
devel/ocaml-bigstringaf/distinfo | 6 ++++++
5 files changed, 65 insertions(+), 0 deletions(-)
diffs (85 lines):
diff -r 4440ba37e6c0 -r dc071f5a73a4 devel/ocaml-bigstringaf/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-bigstringaf/DESCR Tue Mar 12 18:09:29 2019 +0000
@@ -0,0 +1,7 @@
+The OCaml compiler has a bunch of intrinsics for Bigstrings, but they're not
+widely-known, sometimes misused, and programs that use Bigstrings are slower
+than they have to be. And even if a library got that part right and exposed the
+intrinsics properly, the compiler doesn't have any fast blits between Bigstrings
+and other string-like types.
+
+This library implements them.
diff -r 4440ba37e6c0 -r dc071f5a73a4 devel/ocaml-bigstringaf/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-bigstringaf/Makefile Tue Mar 12 18:09:29 2019 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2019/03/12 18:09:29 jaapb Exp $
+
+GITHUB_PROJECT= bigstringaf
+DISTNAME= ${GITHUB_PROJECT}-0.4.0
+PKGNAME= ocaml-${DISTNAME}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=inhabitedtype/}
+
+MAINTAINER= jaapb%NetBSD.org@localhost
+HOMEPAGE= https://github.com/inhabitedtype/bigstringaf/
+COMMENT= Bigstring intrinsics and fast blits based on memcpy/memmmove
+LICENSE= modified-bsd
+
+USE_LANGUAGES= # none
+OCAML_USE_DUNE= yes
+
+.include "../../mk/ocaml.mk"
+.include "../../devel/ocaml-base/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 4440ba37e6c0 -r dc071f5a73a4 devel/ocaml-bigstringaf/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-bigstringaf/PLIST Tue Mar 12 18:09:29 2019 +0000
@@ -0,0 +1,20 @@
+@comment $NetBSD: PLIST,v 1.1 2019/03/12 18:09:29 jaapb Exp $
+${OCAML_SITELIB}/bigstringaf/META
+${PLIST.ocaml-opt}${OCAML_SITELIB}/bigstringaf/bigstringaf.a
+${OCAML_SITELIB}/bigstringaf/bigstringaf.cma
+${OCAML_SITELIB}/bigstringaf/bigstringaf.cmi
+${OCAML_SITELIB}/bigstringaf/bigstringaf.cmt
+${OCAML_SITELIB}/bigstringaf/bigstringaf.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/bigstringaf/bigstringaf.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/bigstringaf/bigstringaf.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/bigstringaf/bigstringaf.cmxs
+${OCAML_SITELIB}/bigstringaf/bigstringaf.ml
+${OCAML_SITELIB}/bigstringaf/bigstringaf.mli
+${OCAML_SITELIB}/bigstringaf/dune-package
+${OCAML_SITELIB}/bigstringaf/libbigstringaf_stubs.a
+${OCAML_SITELIB}/bigstringaf/opam
+${OCAML_SITELIB}/bigstringaf/runtime.js
+${OCAML_SITELIB}/stublibs/dllbigstringaf_stubs.so
+share/doc/bigstringaf/CHANGES.md
+share/doc/bigstringaf/LICENSE
+share/doc/bigstringaf/README.md
diff -r 4440ba37e6c0 -r dc071f5a73a4 devel/ocaml-bigstringaf/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-bigstringaf/buildlink3.mk Tue Mar 12 18:09:29 2019 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2019/03/12 18:09:29 jaapb Exp $
+
+BUILDLINK_TREE+= ocaml-bigstringaf
+
+.if !defined(OCAML_BIGSTRINGAF_BUILDLINK3_MK)
+OCAML_BIGSTRINGAF_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-bigstringaf+= ocaml-bigstringaf>=0.4.0
+BUILDLINK_PKGSRCDIR.ocaml-bigstringaf?= ../../devel/ocaml-bigstringaf
+
+.endif # OCAML_BIGSTRINGAF_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -ocaml-bigstringaf
diff -r 4440ba37e6c0 -r dc071f5a73a4 devel/ocaml-bigstringaf/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-bigstringaf/distinfo Tue Mar 12 18:09:29 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/03/12 18:09:29 jaapb Exp $
+
+SHA1 (bigstringaf-0.4.0.tar.gz) = ae02b953c510f54f7a3f73296e8ccd66da005d83
+RMD160 (bigstringaf-0.4.0.tar.gz) = c7c5fba54789209174533e9191e0302d387e9ebc
+SHA512 (bigstringaf-0.4.0.tar.gz) = a7300eb45af2a0a8b2efd5a6069d928ab9e8fee256da91c6fb5c4de21d42ecbb23cdabf5b88d9d2e984ed59619523a05f40406c6202f723a4eec61f20663d000
+Size (bigstringaf-0.4.0.tar.gz) = 11329 bytes
Home |
Main Index |
Thread Index |
Old Index