Added devel/ocaml-ke, an efficient queue implementation.

Needed as a dependency for the new version of ocaml-encore.
This commit is contained in:
jaapb 2020-04-14 08:18:30 +00:00
parent a48bd868c7
commit 11cffdaaba
5 changed files with 80 additions and 0 deletions

3
devel/ocaml-ke/DESCR Normal file
View file

@ -0,0 +1,3 @@
The ke library provides some implementation of queues/FIFOs in a
functional or imperative way. It's a little library with a benchmark,
fuzzer and tests.

21
devel/ocaml-ke/Makefile Normal file
View file

@ -0,0 +1,21 @@
# $NetBSD: Makefile,v 1.1 2020/04/14 08:18:30 jaapb Exp $
GITHUB_PROJECT= ke
GITHUB_TAG= v${PKGVERSION_NOREV}
DISTNAME= ${GITHUB_PROJECT}-0.4
PKGNAME= ocaml-${DISTNAME}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=mirage/}
MAINTAINER= jaapb@NetBSD.org
HOMEPAGE= https://github.com/mirage/ke/
COMMENT= Fast implementation of queue in OCaml
LICENSE= modified-bsd
USE_LANGUAGES= # none
OCAML_USE_DUNE= yes
.include "../../mk/ocaml.mk"
.include "../../devel/ocaml-bigarray-compat/buildlink3.mk"
.include "../../devel/ocaml-fmt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

37
devel/ocaml-ke/PLIST Normal file
View file

@ -0,0 +1,37 @@
@comment $NetBSD: PLIST,v 1.1 2020/04/14 08:18:30 jaapb Exp $
${OCAML_SITELIB}/ke/META
${OCAML_SITELIB}/ke/dune-package
${OCAML_SITELIB}/ke/fke.ml
${OCAML_SITELIB}/ke/fke.mli
${PLIST.ocaml-opt}${OCAML_SITELIB}/ke/ke.a
${OCAML_SITELIB}/ke/ke.cma
${OCAML_SITELIB}/ke/ke.cmi
${OCAML_SITELIB}/ke/ke.cmt
${OCAML_SITELIB}/ke/ke.cmti
${PLIST.ocaml-opt}${OCAML_SITELIB}/ke/ke.cmx
${PLIST.ocaml-opt}${OCAML_SITELIB}/ke/ke.cmxa
${PLIST.ocaml-opt}${OCAML_SITELIB}/ke/ke.cmxs
${OCAML_SITELIB}/ke/ke.ml
${OCAML_SITELIB}/ke/ke.mli
${OCAML_SITELIB}/ke/ke__.cmi
${OCAML_SITELIB}/ke/ke__.cmt
${PLIST.ocaml-opt}${OCAML_SITELIB}/ke/ke__.cmx
${OCAML_SITELIB}/ke/ke__.ml
${OCAML_SITELIB}/ke/ke__Fke.cmi
${OCAML_SITELIB}/ke/ke__Fke.cmt
${OCAML_SITELIB}/ke/ke__Fke.cmti
${PLIST.ocaml-opt}${OCAML_SITELIB}/ke/ke__Fke.cmx
${OCAML_SITELIB}/ke/ke__Rke.cmi
${OCAML_SITELIB}/ke/ke__Rke.cmt
${OCAML_SITELIB}/ke/ke__Rke.cmti
${PLIST.ocaml-opt}${OCAML_SITELIB}/ke/ke__Rke.cmx
${OCAML_SITELIB}/ke/ke__Sigs.cmi
${OCAML_SITELIB}/ke/ke__Sigs.cmt
${PLIST.ocaml-opt}${OCAML_SITELIB}/ke/ke__Sigs.cmx
${OCAML_SITELIB}/ke/opam
${OCAML_SITELIB}/ke/rke.ml
${OCAML_SITELIB}/ke/rke.mli
${OCAML_SITELIB}/ke/sigs.ml
share/doc/ke/CHANGES.md
share/doc/ke/LICENSE.md
share/doc/ke/README.md

View file

@ -0,0 +1,13 @@
# $NetBSD: buildlink3.mk,v 1.1 2020/04/14 08:18:30 jaapb Exp $
BUILDLINK_TREE+= ocaml-ke
.if !defined(OCAML_KE_BUILDLINK3_MK)
OCAML_KE_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.ocaml-ke+= ocaml-ke>=0.4
BUILDLINK_PKGSRCDIR.ocaml-ke?= ../../devel/ocaml-ke
.endif # OCAML_KE_BUILDLINK3_MK
BUILDLINK_TREE+= -ocaml-ke

6
devel/ocaml-ke/distinfo Normal file
View file

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1 2020/04/14 08:18:30 jaapb Exp $
SHA1 (ke-0.4.tar.gz) = a986d8d4e0ee698f55e785d6493b695241affbec
RMD160 (ke-0.4.tar.gz) = 753bff712bd002c2303b8596f425b0a41ce58b51
SHA512 (ke-0.4.tar.gz) = baf56fe15b6647df6a8e11c32ad9d6e20fb8044ea4a3af930c1cc9e0d00d3f77a2a47f9680e7ca0b820e3f1ca719d067d5eb8349e014b0b6ce9aac2fd1a92467
Size (ke-0.4.tar.gz) = 19052 bytes