summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml/coq-menhirlib')
-rw-r--r--dev-ml/coq-menhirlib/Manifest1
-rw-r--r--dev-ml/coq-menhirlib/coq-menhirlib-20220210.ebuild34
-rw-r--r--dev-ml/coq-menhirlib/metadata.xml8
3 files changed, 43 insertions, 0 deletions
diff --git a/dev-ml/coq-menhirlib/Manifest b/dev-ml/coq-menhirlib/Manifest
new file mode 100644
index 000000000000..f8257d7817bc
--- /dev/null
+++ b/dev-ml/coq-menhirlib/Manifest
@@ -0,0 +1 @@
+DIST menhir-20220210.tar.bz2 1160357 BLAKE2B a9401b50db4dfdfe56c5c10919d4d385cbb7bf27d1518932e55d6757c08989407cda17c65f72d20e21738618e4f97f20b10098c9185f3882b3391aab7f9f8bc9 SHA512 8a852e995cab57b16adc1b7708d3acdf5f8b65d13dbf907a4155ff45d71dccc65868fe369590b48a3f06d8319f74777ce2e9be05caa9dbe060c0ae3a2b37943f
diff --git a/dev-ml/coq-menhirlib/coq-menhirlib-20220210.ebuild b/dev-ml/coq-menhirlib/coq-menhirlib-20220210.ebuild
new file mode 100644
index 000000000000..f0f543ec6276
--- /dev/null
+++ b/dev-ml/coq-menhirlib/coq-menhirlib-20220210.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit dune
+
+DESCRIPTION="A support library for verified Coq parsers produced by Menhir"
+HOMEPAGE="http://gallium.inria.fr/~fpottier/menhir/"
+SRC_URI="https://gitlab.inria.fr/fpottier/menhir/-/archive/${PV}/menhir-${PV}.tar.bz2"
+S="${WORKDIR}"/menhir-${PV}
+
+LICENSE="GPL-2 LGPL-2-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="+ocamlopt"
+
+RDEPEND="
+ >=dev-ml/menhir-${PV}:=
+ sci-mathematics/coq:=
+"
+DEPEND="${RDEPEND}"
+
+src_compile() {
+ emake -C ${PN}
+ dune build @install --profile release -p ${PN} || die
+}
+
+src_install() {
+ emake -C ${PN} DESTDIR="${D}" install
+ dune_src_install ${PN}
+
+ dodoc ${PN}/CHANGES.md ${PN}/README.md
+}
diff --git a/dev-ml/coq-menhirlib/metadata.xml b/dev-ml/coq-menhirlib/metadata.xml
new file mode 100644
index 000000000000..ff5a0cd1ae3d
--- /dev/null
+++ b/dev-ml/coq-menhirlib/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>ML</name>
+ </maintainer>
+</pkgmetadata>