summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2021-03-04 21:01:39 +0100
committerAlfredo Tupone <tupone@gentoo.org>2021-03-04 21:02:33 +0100
commitf5c355a2c8a08be56c16c0f8b30ce2446c83c3e2 (patch)
tree1b0b814d1c4e98336dd722b8f2ea146a68d31d12 /dev-ml/cstruct
parentsys-kernel/gentoo-kernel-bin: Bump to 5.11.3 (diff)
downloadgentoo-f5c355a2c8a08be56c16c0f8b30ce2446c83c3e2.tar.gz
gentoo-f5c355a2c8a08be56c16c0f8b30ce2446c83c3e2.tar.bz2
gentoo-f5c355a2c8a08be56c16c0f8b30ce2446c83c3e2.zip
dev-ml/cstruct: add dev-ml/cstruct
Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ml/cstruct')
-rw-r--r--dev-ml/cstruct/Manifest1
-rw-r--r--dev-ml/cstruct/cstruct-5.2.0.ebuild24
-rw-r--r--dev-ml/cstruct/metadata.xml11
3 files changed, 36 insertions, 0 deletions
diff --git a/dev-ml/cstruct/Manifest b/dev-ml/cstruct/Manifest
new file mode 100644
index 000000000000..0fe7a4ca8905
--- /dev/null
+++ b/dev-ml/cstruct/Manifest
@@ -0,0 +1 @@
+DIST cstruct-v5.2.0.tbz 227195 BLAKE2B 21eb94d0bbfb6f633f37ed7d6db716f7011765219f98f437d1c4ba4778e5d71fce37db1523d5f940d784779dfae1cccda7c521c5b3a2f46048d136a069d1099e SHA512 4e8cb53801980dacb9c9153bada89557ffcd9afaac262592fe6243bec3e76d5d1cfe3babe133a9a32e35ed00d98a4b54d55403e8505cca6a1328be50fadb5f37
diff --git a/dev-ml/cstruct/cstruct-5.2.0.ebuild b/dev-ml/cstruct/cstruct-5.2.0.ebuild
new file mode 100644
index 000000000000..f2b874f5dceb
--- /dev/null
+++ b/dev-ml/cstruct/cstruct-5.2.0.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit dune
+
+MYP=${PN}-v${PV}
+
+DESCRIPTION="Map OCaml arrays onto C-like structs"
+HOMEPAGE="https://github.com/mirage/ocaml-cstruct https://mirage.io"
+SRC_URI="https://github.com/mirage/ocaml-${PN}/releases/download/v${PV}/${MYP}.tbz"
+
+LICENSE="ISC"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="+ocamlopt"
+
+RDEPEND="dev-ml/async_unix:=
+ dev-ml/bigarray-compat:=
+ >=dev-ml/ppx_tools_versioned-5.4.0:="
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}"/${MYP}
diff --git a/dev-ml/cstruct/metadata.xml b/dev-ml/cstruct/metadata.xml
new file mode 100644
index 000000000000..3f974fc39b86
--- /dev/null
+++ b/dev-ml/cstruct/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>ML</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">mirage/ocaml-cstruct</remote-id>
+ </upstream>
+</pkgmetadata>