Added archivers/ocaml-decompress, a pure OCaml zlib implementation

This commit is contained in:
jaapb 2019-03-12 18:00:02 +00:00
parent 7fce19ea50
commit 32aefbbebf
5 changed files with 110 additions and 0 deletions

View file

@ -0,0 +1,2 @@
Decompress is a pure OCaml implementation of zlib (in other words, it does not
use C bindings).

View file

@ -0,0 +1,22 @@
# $NetBSD: Makefile,v 1.1 2019/03/12 18:00:02 jaapb Exp $
GITHUB_PROJECT= decompress
GITHUB_TAG= v${PKGVERSION_NOREV}
DISTNAME= ${GITHUB_PROJECT}-0.8.1
PKGNAME= ocaml-${DISTNAME}
CATEGORIES= archivers
MASTER_SITES= ${MASTER_SITE_GITHUB:=mirage/}
MAINTAINER= jaapb@NetBSD.org
HOMEPAGE= https://github.com/mirage/decompress/
COMMENT= Pure OCaml implementation of Zlib
LICENSE= mit
USE_LANGUAGES= # none
OCAML_USE_DUNE= yes
.include "../../mk/ocaml.mk"
.include "../../devel/ocaml-checkseum/buildlink3.mk"
.include "../../devel/ocaml-cmdliner/buildlink3.mk"
.include "../../devel/ocaml-optint/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -0,0 +1,67 @@
@comment $NetBSD: PLIST,v 1.1 2019/03/12 18:00:02 jaapb Exp $
bin/decompress.dpipe
bin/decompress.easy
${OCAML_SITELIB}/decompress/META
${PLIST.ocaml-opt}${OCAML_SITELIB}/decompress/decompress.a
${OCAML_SITELIB}/decompress/decompress.cma
${OCAML_SITELIB}/decompress/decompress.cmi
${OCAML_SITELIB}/decompress/decompress.cmt
${OCAML_SITELIB}/decompress/decompress.cmti
${PLIST.ocaml-opt}${OCAML_SITELIB}/decompress/decompress.cmx
${PLIST.ocaml-opt}${OCAML_SITELIB}/decompress/decompress.cmxa
${PLIST.ocaml-opt}${OCAML_SITELIB}/decompress/decompress.cmxs
${OCAML_SITELIB}/decompress/decompress.ml
${OCAML_SITELIB}/decompress/decompress.mli
${OCAML_SITELIB}/decompress/dune-package
${OCAML_SITELIB}/decompress/impl/decompress_b.ml
${OCAML_SITELIB}/decompress/impl/decompress_bigstring.ml
${OCAML_SITELIB}/decompress/impl/decompress_bytes.ml
${OCAML_SITELIB}/decompress/impl/decompress_hunk.ml
${PLIST.ocaml-opt}${OCAML_SITELIB}/decompress/impl/decompress_impl.a
${OCAML_SITELIB}/decompress/impl/decompress_impl.cma
${OCAML_SITELIB}/decompress/impl/decompress_impl.cmi
${OCAML_SITELIB}/decompress/impl/decompress_impl.cmt
${PLIST.ocaml-opt}${OCAML_SITELIB}/decompress/impl/decompress_impl.cmx
${PLIST.ocaml-opt}${OCAML_SITELIB}/decompress/impl/decompress_impl.cmxa
${PLIST.ocaml-opt}${OCAML_SITELIB}/decompress/impl/decompress_impl.cmxs
${OCAML_SITELIB}/decompress/impl/decompress_impl.ml
${OCAML_SITELIB}/decompress/impl/decompress_impl__.cmi
${OCAML_SITELIB}/decompress/impl/decompress_impl__.cmt
${PLIST.ocaml-opt}${OCAML_SITELIB}/decompress/impl/decompress_impl__.cmx
${OCAML_SITELIB}/decompress/impl/decompress_impl__.ml
${OCAML_SITELIB}/decompress/impl/decompress_impl__Decompress_b.cmi
${OCAML_SITELIB}/decompress/impl/decompress_impl__Decompress_b.cmt
${PLIST.ocaml-opt}${OCAML_SITELIB}/decompress/impl/decompress_impl__Decompress_b.cmx
${OCAML_SITELIB}/decompress/impl/decompress_impl__Decompress_bigstring.cmi
${OCAML_SITELIB}/decompress/impl/decompress_impl__Decompress_bigstring.cmt
${PLIST.ocaml-opt}${OCAML_SITELIB}/decompress/impl/decompress_impl__Decompress_bigstring.cmx
${OCAML_SITELIB}/decompress/impl/decompress_impl__Decompress_bytes.cmi
${OCAML_SITELIB}/decompress/impl/decompress_impl__Decompress_bytes.cmt
${PLIST.ocaml-opt}${OCAML_SITELIB}/decompress/impl/decompress_impl__Decompress_bytes.cmx
${OCAML_SITELIB}/decompress/impl/decompress_impl__Decompress_hunk.cmi
${OCAML_SITELIB}/decompress/impl/decompress_impl__Decompress_hunk.cmt
${PLIST.ocaml-opt}${OCAML_SITELIB}/decompress/impl/decompress_impl__Decompress_hunk.cmx
${OCAML_SITELIB}/decompress/impl/decompress_impl__Decompress_lz77.cmi
${OCAML_SITELIB}/decompress/impl/decompress_impl__Decompress_lz77.cmt
${PLIST.ocaml-opt}${OCAML_SITELIB}/decompress/impl/decompress_impl__Decompress_lz77.cmx
${OCAML_SITELIB}/decompress/impl/decompress_impl__Decompress_q.cmi
${OCAML_SITELIB}/decompress/impl/decompress_impl__Decompress_q.cmt
${PLIST.ocaml-opt}${OCAML_SITELIB}/decompress/impl/decompress_impl__Decompress_q.cmx
${OCAML_SITELIB}/decompress/impl/decompress_impl__Decompress_safe.cmi
${OCAML_SITELIB}/decompress/impl/decompress_impl__Decompress_safe.cmt
${OCAML_SITELIB}/decompress/impl/decompress_impl__Decompress_safe.cmti
${PLIST.ocaml-opt}${OCAML_SITELIB}/decompress/impl/decompress_impl__Decompress_safe.cmx
${OCAML_SITELIB}/decompress/impl/decompress_impl__Decompress_seq.cmi
${OCAML_SITELIB}/decompress/impl/decompress_impl__Decompress_seq.cmt
${OCAML_SITELIB}/decompress/impl/decompress_impl__Decompress_seq.cmti
${PLIST.ocaml-opt}${OCAML_SITELIB}/decompress/impl/decompress_impl__Decompress_seq.cmx
${OCAML_SITELIB}/decompress/impl/decompress_lz77.ml
${OCAML_SITELIB}/decompress/impl/decompress_q.ml
${OCAML_SITELIB}/decompress/impl/decompress_safe.ml
${OCAML_SITELIB}/decompress/impl/decompress_safe.mli
${OCAML_SITELIB}/decompress/impl/decompress_seq.ml
${OCAML_SITELIB}/decompress/impl/decompress_seq.mli
${OCAML_SITELIB}/decompress/opam
share/doc/decompress/CHANGES.md
share/doc/decompress/LICENSE.md
share/doc/decompress/README.md

View file

@ -0,0 +1,13 @@
# $NetBSD: buildlink3.mk,v 1.1 2019/03/12 18:00:02 jaapb Exp $
BUILDLINK_TREE+= ocaml-decompress
.if !defined(OCAML_DECOMPRESS_BUILDLINK3_MK)
OCAML_DECOMPRESS_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.ocaml-decompress+= ocaml-decompress>=0.8.1
BUILDLINK_PKGSRCDIR.ocaml-decompress?= ../../archivers/ocaml-decompress
.endif # OCAML_DECOMPRESS_BUILDLINK3_MK
BUILDLINK_TREE+= -ocaml-decompress

View file

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1 2019/03/12 18:00:02 jaapb Exp $
SHA1 (decompress-0.8.1.tar.gz) = 1340e992666eeb61d4e5508986171e31531e2089
RMD160 (decompress-0.8.1.tar.gz) = e584b75fd2d54c6371b04e6b2d22b6f941ed5d27
SHA512 (decompress-0.8.1.tar.gz) = e928e1ccea4ab6987074df76787da62ea1376604d1ea98faad041a5cd0ff2e5d3cd90f511a2c90cce8cebc8df7c686cf1e67ad089ca4e580410fde6440fc96fb
Size (decompress-0.8.1.tar.gz) = 45845 bytes