diff options
author | Maciej Barć <xgqt@gentoo.org> | 2022-12-23 23:35:13 +0100 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2022-12-23 23:35:13 +0100 |
commit | d9fe66b2052fae9473fa7abc1a00b338b63d8e00 (patch) | |
tree | a3b7f75c921482df7e082ecadd151096f091bcba /dev-ml | |
parent | net-nds/openldap: add REQUIRED_USE for conflicting features (diff) | |
download | gentoo-d9fe66b2052fae9473fa7abc1a00b338b63d8e00.tar.gz gentoo-d9fe66b2052fae9473fa7abc1a00b338b63d8e00.tar.bz2 gentoo-d9fe66b2052fae9473fa7abc1a00b338b63d8e00.zip |
dev-ml/coq-menhirlib: new package; add 20220210
Closes: https://bugs.gentoo.org/888075
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-ml')
-rw-r--r-- | dev-ml/coq-menhirlib/Manifest | 1 | ||||
-rw-r--r-- | dev-ml/coq-menhirlib/coq-menhirlib-20220210.ebuild | 34 | ||||
-rw-r--r-- | dev-ml/coq-menhirlib/metadata.xml | 8 |
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> |