summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaapb <jaapb@pkgsrc.org>2019-03-12 18:00:02 +0000
committerjaapb <jaapb@pkgsrc.org>2019-03-12 18:00:02 +0000
commit37c305d117c024b25ff68222da1f53797328eb02 (patch)
tree37bf6b4d174f6d8111c9cd6b0589b9491bca2660
parent01f614dc750c809e14a75d370fefeeea302b8035 (diff)
downloadpkgsrc-37c305d117c024b25ff68222da1f53797328eb02.tar.gz
Added archivers/ocaml-decompress, a pure OCaml zlib implementation
-rw-r--r--archivers/ocaml-decompress/DESCR2
-rw-r--r--archivers/ocaml-decompress/Makefile22
-rw-r--r--archivers/ocaml-decompress/PLIST67
-rw-r--r--archivers/ocaml-decompress/buildlink3.mk13
-rw-r--r--archivers/ocaml-decompress/distinfo6
5 files changed, 110 insertions, 0 deletions
diff --git a/archivers/ocaml-decompress/DESCR b/archivers/ocaml-decompress/DESCR
new file mode 100644
index 00000000000..c7e456ead99
--- /dev/null
+++ b/archivers/ocaml-decompress/DESCR
@@ -0,0 +1,2 @@
+Decompress is a pure OCaml implementation of zlib (in other words, it does not
+use C bindings).
diff --git a/archivers/ocaml-decompress/Makefile b/archivers/ocaml-decompress/Makefile
new file mode 100644
index 00000000000..3de91ae45a8
--- /dev/null
+++ b/archivers/ocaml-decompress/Makefile
@@ -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"
diff --git a/archivers/ocaml-decompress/PLIST b/archivers/ocaml-decompress/PLIST
new file mode 100644
index 00000000000..47b2e7faea8
--- /dev/null
+++ b/archivers/ocaml-decompress/PLIST
@@ -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
diff --git a/archivers/ocaml-decompress/buildlink3.mk b/archivers/ocaml-decompress/buildlink3.mk
new file mode 100644
index 00000000000..6ab9ddf7ac3
--- /dev/null
+++ b/archivers/ocaml-decompress/buildlink3.mk
@@ -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
diff --git a/archivers/ocaml-decompress/distinfo b/archivers/ocaml-decompress/distinfo
new file mode 100644
index 00000000000..089e6cc4fda
--- /dev/null
+++ b/archivers/ocaml-decompress/distinfo
@@ -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