dev-ml/coq-menhirlib: new package; add 20220210

Closes: https://bugs.gentoo.org/888075
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2022-12-23 23:35:13 +01:00
parent d7c74b87e4
commit d9fe66b205
3 changed files with 43 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST menhir-20220210.tar.bz2 1160357 BLAKE2B a9401b50db4dfdfe56c5c10919d4d385cbb7bf27d1518932e55d6757c08989407cda17c65f72d20e21738618e4f97f20b10098c9185f3882b3391aab7f9f8bc9 SHA512 8a852e995cab57b16adc1b7708d3acdf5f8b65d13dbf907a4155ff45d71dccc65868fe369590b48a3f06d8319f74777ce2e9be05caa9dbe060c0ae3a2b37943f

View File

@@ -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
}

View File

@@ -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>