BSD Ports

devel/ocaml-cstruct 6.1.0nb2 NetBSD

Map OCaml arrays onto C-like structs

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
isc
Categories
devel
Package size
350.3 KiB, 1656.9 KiB installed

Description

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.

In the other systems

SystemPortVersion
NetBSDdevel/ocaml-cstruct6.1.0nb2
FreeBSDdevel/ocaml-cstruct6.2.0_2
DragonFlydevel/ocaml-cstruct6.2.0_2
GhostBSDdevel/ocaml-cstruct6.2.0_2

Install

Binary package:

pkgin install ocaml-cstruct

From pkgsrc:

cd /usr/pkgsrc/devel/ocaml-cstruct && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_646.1.0nb2
NetBSD 10.1 aarch646.1.0nb2
SmartOS / illumos x86_64-
macOS 15 arm64-

Dependencies

Run dependencies 4