# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 MY_PV=${PV/_p/pl} MY_P=${PN}-${MY_PV} inherit desktop dune DESCRIPTION="Proof assistant written in O'Caml" HOMEPAGE="http://coq.inria.fr/" SRC_URI="https://github.com/coq/coq/archive/V${MY_PV}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}/${MY_P}" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~amd64" IUSE="doc gtk debug +ocamlopt" RESTRICT="test" # fails RDEPEND=" dev-ml/zarith:= || ( dev-ml/num /ocaml/ but # Coq wants /usr// ; symlink those directories for sym in ${syms[@]} ; do dosym $(ocamlc -where)/${sym} /usr/$(get_libdir)/${sym} done }