Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-mathematics/gappa/
Date: Wed, 09 Jun 2021 14:25:24
Message-Id: 1623248716.b111bc689a1bbd5a7b9e82d350b9e600fc6d2190.andrewammerlaan@gentoo
1 commit: b111bc689a1bbd5a7b9e82d350b9e600fc6d2190
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 9 14:23:51 2021 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 9 14:25:16 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=b111bc68
7
8 sci-mathematics/gappa: add version 1.4.0
9
10 Package-Manager: Portage-3.0.19, Repoman-3.0.3
11 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
12
13 sci-mathematics/gappa/gappa-1.4.0.ebuild | 42 ++++++++++++++++++++++++++++++++
14 1 file changed, 42 insertions(+)
15
16 diff --git a/sci-mathematics/gappa/gappa-1.4.0.ebuild b/sci-mathematics/gappa/gappa-1.4.0.ebuild
17 new file mode 100644
18 index 000000000..7395c8ea3
19 --- /dev/null
20 +++ b/sci-mathematics/gappa/gappa-1.4.0.ebuild
21 @@ -0,0 +1,42 @@
22 +# Copyright 1999-2021 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +
27 +DOCS_BUILDER="doxygen"
28 +DOCS_DIR="doc/doxygen"
29 +
30 +inherit docs multiprocessing
31 +
32 +DESCRIPTION="Verifying and proving properties on floating-point or fixed-point arithmetic"
33 +HOMEPAGE="https://gappa.gitlabpages.inria.fr/"
34 +SRC_URI="https://gforge.inria.fr/frs/download.php/file/38436/${P}.tar.gz"
35 +
36 +LICENSE="|| ( CeCILL-2 GPL-2 )"
37 +SLOT="0"
38 +KEYWORDS="~amd64 ~x86"
39 +
40 +RDEPEND="
41 + dev-libs/gmp:0=
42 + dev-libs/mpfr:0=
43 + dev-libs/boost
44 +"
45 +DEPEND="${RDEPEND}"
46 +
47 +src_prepare() {
48 + default
49 + sed -i Remakefile.in \
50 + -e "s:mkdir -p @bindir@:mkdir -p \${DESTDIR}@bindir@:g" \
51 + -e "s:cp src/gappa @bindir@:cp src/gappa \${DESTDIR}@bindir@:g" || die
52 +}
53 +
54 +src_compile() {
55 + # Only accept number of parrellel jobs because remake does not understand --load-average
56 + ./remake -d -j$(makeopts_jobs) || die "emake failed"
57 + docs_compile
58 +}
59 +
60 +src_install() {
61 + DESTDIR="${D}" ./remake install
62 + einstalldocs
63 +}