pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/ocaml-cstruct Added devel/ocaml-cstruct, mapping...
details: https://anonhg.NetBSD.org/pkgsrc/rev/693e557d77b6
branches: trunk
changeset: 321251:693e557d77b6
user: jaapb <jaapb%pkgsrc.org@localhost>
date: Tue Mar 19 11:11:31 2019 +0000
description:
Added devel/ocaml-cstruct, mapping OCaml arrays onto C-like structs
diffstat:
devel/ocaml-cstruct/DESCR | 3 +++
devel/ocaml-cstruct/Makefile | 20 ++++++++++++++++++++
devel/ocaml-cstruct/PLIST | 36 ++++++++++++++++++++++++++++++++++++
devel/ocaml-cstruct/buildlink3.mk | 12 ++++++++++++
devel/ocaml-cstruct/distinfo | 6 ++++++
5 files changed, 77 insertions(+), 0 deletions(-)
diffs (97 lines):
diff -r 10c7ab4d9a7f -r 693e557d77b6 devel/ocaml-cstruct/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-cstruct/DESCR Tue Mar 19 11:11:31 2019 +0000
@@ -0,0 +1,3 @@
+Cstruct is a library and syntax extension to make it easier to access C-like
+structures directly from OCaml. It supports both reading and writing to these
+structures, and they are accessed via the Bigarray module.
diff -r 10c7ab4d9a7f -r 693e557d77b6 devel/ocaml-cstruct/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-cstruct/Makefile Tue Mar 19 11:11:31 2019 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2019/03/19 11:11:31 jaapb Exp $
+
+GITHUB_PROJECT= ocaml-cstruct
+GITHUB_TAG= v${PKGVERSION_NOREV}
+DISTNAME= ${GITHUB_PROJECT}-3.7.0
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=mirage/}
+
+MAINTAINER= jaapb%NetBSD.org@localhost
+HOMEPAGE= https://github.com/mirage/ocaml-cstruct/
+COMMENT= Map OCaml arrays onto C-like structs
+LICENSE= isc
+
+OCAML_USE_DUNE= yes
+DUNE_BUILD_PACKAGES= cstruct cstruct-unix
+OPAM_INSTALL_FILES= cstruct cstruct-unix
+
+.include "../../devel/ocaml-sexplib/buildlink3.mk"
+.include "../../mk/ocaml.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 10c7ab4d9a7f -r 693e557d77b6 devel/ocaml-cstruct/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-cstruct/PLIST Tue Mar 19 11:11:31 2019 +0000
@@ -0,0 +1,36 @@
+@comment $NetBSD: PLIST,v 1.1 2019/03/19 11:11:31 jaapb Exp $
+${OCAML_SITELIB}/cstruct-unix/META
+${PLIST.ocaml-opt}${OCAML_SITELIB}/cstruct-unix/cstruct_unix.a
+${OCAML_SITELIB}/cstruct-unix/cstruct_unix.cma
+${PLIST.ocaml-opt}${OCAML_SITELIB}/cstruct-unix/cstruct_unix.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/cstruct-unix/cstruct_unix.cmxs
+${OCAML_SITELIB}/cstruct-unix/dune-package
+${OCAML_SITELIB}/cstruct-unix/opam
+${OCAML_SITELIB}/cstruct-unix/unix_cstruct.cmi
+${OCAML_SITELIB}/cstruct-unix/unix_cstruct.cmt
+${OCAML_SITELIB}/cstruct-unix/unix_cstruct.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/cstruct-unix/unix_cstruct.cmx
+${OCAML_SITELIB}/cstruct-unix/unix_cstruct.ml
+${OCAML_SITELIB}/cstruct-unix/unix_cstruct.mli
+${OCAML_SITELIB}/cstruct/META
+${PLIST.ocaml-opt}${OCAML_SITELIB}/cstruct/cstruct.a
+${OCAML_SITELIB}/cstruct/cstruct.cma
+${OCAML_SITELIB}/cstruct/cstruct.cmi
+${OCAML_SITELIB}/cstruct/cstruct.cmt
+${OCAML_SITELIB}/cstruct/cstruct.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/cstruct/cstruct.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/cstruct/cstruct.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/cstruct/cstruct.cmxs
+${OCAML_SITELIB}/cstruct/cstruct.js
+${OCAML_SITELIB}/cstruct/cstruct.ml
+${OCAML_SITELIB}/cstruct/cstruct.mli
+${OCAML_SITELIB}/cstruct/dune-package
+${PLIST.ocaml-opt}${OCAML_SITELIB}/cstruct/libcstruct_stubs.a
+${OCAML_SITELIB}/cstruct/opam
+${OCAML_SITELIB}/stublibs/dllcstruct_stubs.so
+share/doc/cstruct-unix/CHANGES.md
+share/doc/cstruct-unix/LICENSE.md
+share/doc/cstruct-unix/README.md
+share/doc/cstruct/CHANGES.md
+share/doc/cstruct/LICENSE.md
+share/doc/cstruct/README.md
diff -r 10c7ab4d9a7f -r 693e557d77b6 devel/ocaml-cstruct/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-cstruct/buildlink3.mk Tue Mar 19 11:11:31 2019 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2019/03/19 11:11:31 jaapb Exp $
+
+BUILDLINK_TREE+= ocaml-cstruct
+
+.if !defined(OCAML_CSTRUCT_BUILDLINK3_MK)
+OCAML_CSTRUCT_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-cstruct+= ocaml-cstruct>=3.7.0
+BUILDLINK_PKGSRCDIR.ocaml-cstruct?= ../../devel/ocaml-cstruct
+.endif # OCAML_CSTRUCT_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -ocaml-cstruct
diff -r 10c7ab4d9a7f -r 693e557d77b6 devel/ocaml-cstruct/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-cstruct/distinfo Tue Mar 19 11:11:31 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/03/19 11:11:31 jaapb Exp $
+
+SHA1 (ocaml-cstruct-3.7.0.tar.gz) = 2ef3f5ff4f41a81c7f9d848788927ccd0a35de34
+RMD160 (ocaml-cstruct-3.7.0.tar.gz) = 0964850d351b7eb0f7649c98fdae11526ed3d150
+SHA512 (ocaml-cstruct-3.7.0.tar.gz) = 5e4aaa310d0ff9b7d393d61236253b767e873c13050bed861243899175a25c88267aeabe5d49d1c92af87615238f7f5b2868599d047a5d04200392ccc15a5283
+Size (ocaml-cstruct-3.7.0.tar.gz) = 218339 bytes
Home |
Main Index |
Thread Index |
Old Index