commit: 2e461f069f5aaa8e5968b698ace996a3add02888 Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> AuthorDate: Thu Mar 4 12:05:17 2021 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> CommitDate: Thu Mar 4 12:05:17 2021 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=2e461f06
sci-mathematics/flocq: version bump 3.4.0 Package-Manager: Portage-3.0.16, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net> sci-mathematics/flocq/flocq-3.4.0.ebuild | 35 ++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/sci-mathematics/flocq/flocq-3.4.0.ebuild b/sci-mathematics/flocq/flocq-3.4.0.ebuild new file mode 100644 index 000000000..e629d5628 --- /dev/null +++ b/sci-mathematics/flocq/flocq-3.4.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="A floating-point formalization for the Coq system" +HOMEPAGE="http://flocq.gforge.inria.fr/" +SRC_URI="https://gforge.inria.fr/frs/download.php/file/38385/${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=">=sci-mathematics/coq-8.7" +RDEPEND="${DEPEND}" + +src_prepare() { + default + sed -i Remakefile.in \ + -e "s:mkdir -p @libdir@:mkdir -p \${DESTDIR}@libdir@:g" \ + -e "s:cp \$f @libdir@:cp \$f \${DESTDIR}@libdir@:g" +} + +src_configure() { + econf --libdir="`coqc -where`/user-contrib/Flocq" +} + +src_compile() { + ./remake || die "emake failed" +} + +src_install() { + DESTDIR="${D}" ./remake install || die + einstalldocs +}
