pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/ocaml-cstruct
Module Name: pkgsrc
Committed By: jaapb
Date: Tue Mar 19 11:11:31 UTC 2019
Added Files:
pkgsrc/devel/ocaml-cstruct: DESCR Makefile PLIST buildlink3.mk distinfo
Log Message:
Added devel/ocaml-cstruct, mapping OCaml arrays onto C-like structs
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/ocaml-cstruct/DESCR \
pkgsrc/devel/ocaml-cstruct/Makefile pkgsrc/devel/ocaml-cstruct/PLIST \
pkgsrc/devel/ocaml-cstruct/buildlink3.mk \
pkgsrc/devel/ocaml-cstruct/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/devel/ocaml-cstruct/DESCR
diff -u /dev/null pkgsrc/devel/ocaml-cstruct/DESCR:1.1
--- /dev/null Tue Mar 19 11:11:31 2019
+++ pkgsrc/devel/ocaml-cstruct/DESCR Tue Mar 19 11:11:31 2019
@@ -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.
Index: pkgsrc/devel/ocaml-cstruct/Makefile
diff -u /dev/null pkgsrc/devel/ocaml-cstruct/Makefile:1.1
--- /dev/null Tue Mar 19 11:11:31 2019
+++ pkgsrc/devel/ocaml-cstruct/Makefile Tue Mar 19 11:11:31 2019
@@ -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"
Index: pkgsrc/devel/ocaml-cstruct/PLIST
diff -u /dev/null pkgsrc/devel/ocaml-cstruct/PLIST:1.1
--- /dev/null Tue Mar 19 11:11:31 2019
+++ pkgsrc/devel/ocaml-cstruct/PLIST Tue Mar 19 11:11:31 2019
@@ -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
Index: pkgsrc/devel/ocaml-cstruct/buildlink3.mk
diff -u /dev/null pkgsrc/devel/ocaml-cstruct/buildlink3.mk:1.1
--- /dev/null Tue Mar 19 11:11:31 2019
+++ pkgsrc/devel/ocaml-cstruct/buildlink3.mk Tue Mar 19 11:11:31 2019
@@ -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
Index: pkgsrc/devel/ocaml-cstruct/distinfo
diff -u /dev/null pkgsrc/devel/ocaml-cstruct/distinfo:1.1
--- /dev/null Tue Mar 19 11:11:31 2019
+++ pkgsrc/devel/ocaml-cstruct/distinfo Tue Mar 19 11:11:31 2019
@@ -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