commit:     c568d4b1867085f81e4673123ae2f690124a978f
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 15 15:09:10 2024 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Jun 15 15:55:42 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c568d4b1

dev-ml/cstruct: new package, add 6.2.0

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ml/cstruct/Manifest             |  1 +
 dev-ml/cstruct/cstruct-6.2.0.ebuild | 19 +++++++++++++++++++
 dev-ml/cstruct/metadata.xml         | 11 +++++++++++
 3 files changed, 31 insertions(+)

diff --git a/dev-ml/cstruct/Manifest b/dev-ml/cstruct/Manifest
new file mode 100644
index 000000000000..d7d4adfc959d
--- /dev/null
+++ b/dev-ml/cstruct/Manifest
@@ -0,0 +1 @@
+DIST cstruct-6.2.0.tbz 241841 BLAKE2B 
9a662bf1208e80afda486dd46169b281e838e49666aca01a9ad57b9516fa055af315ea12d5e5bb8994df67eb2f6edabe544a89a2a2a370249e5b72e109f01b1a
 SHA512 
8d33fe6b3707a3994d0225cd33cadde0bb2ca834ef01096e3df33a08e4a8c6d02ebccddf558a73988b8a5595b65fdc10de61efbf872c6c9e55c719c7e19c463d

diff --git a/dev-ml/cstruct/cstruct-6.2.0.ebuild 
b/dev-ml/cstruct/cstruct-6.2.0.ebuild
new file mode 100644
index 000000000000..6d78859ac5fc
--- /dev/null
+++ b/dev-ml/cstruct/cstruct-6.2.0.ebuild
@@ -0,0 +1,19 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit dune
+
+DESCRIPTION="Access C-like structures directly from OCaml"
+HOMEPAGE="https://github.com/mirage/ocaml-cstruct";
+SRC_URI="https://github.com/mirage/ocaml-cstruct/releases/download/v${PV}/${P}.tbz";
+
+LICENSE="ISC"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64"
+IUSE="+ocamlopt"
+
+src_compile() {
+       dune-compile ${PN}
+}

diff --git a/dev-ml/cstruct/metadata.xml b/dev-ml/cstruct/metadata.xml
new file mode 100644
index 000000000000..ed977f2b227a
--- /dev/null
+++ b/dev-ml/cstruct/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="project">
+               <email>[email protected]</email>
+               <name>ML</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">mirage/ocaml-cstruct</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to