sci-mathematics/alt-ergo: Adding alt-ergo 1.30
authorTupone Alfredo <tupone@gentoo.org>
Sat, 14 Oct 2017 06:58:53 +0000 (08:58 +0200)
committerTupone Alfredo <tupone@gentoo.org>
Sat, 14 Oct 2017 06:58:53 +0000 (08:58 +0200)
Package-Manager: Portage-2.3.8, Repoman-2.3.3

sci-mathematics/alt-ergo/Manifest [new file with mode: 0644]
sci-mathematics/alt-ergo/alt-ergo-1.30.ebuild [new file with mode: 0644]
sci-mathematics/alt-ergo/metadata.xml [new file with mode: 0644]

diff --git a/sci-mathematics/alt-ergo/Manifest b/sci-mathematics/alt-ergo/Manifest
new file mode 100644 (file)
index 0000000..576d547
--- /dev/null
@@ -0,0 +1 @@
+DIST alt-ergo-1.30.tar.gz 380329 SHA256 2fd8428323efeafe1f0a92aeaf98242f4668784567a25eac230675451653b708 SHA512 6ac6abdc6602b0ba89ee58eb96c66ac93e8195e0b4f75595381eded86365c2dd881251de2b77e2f1137684651ddc7fd94f922509de0be2964d81f52a6fb0f2f2 WHIRLPOOL 45ac4e9f0f44e1deb30a32fb4d83624cf152dcbd734bc5baaf26f2460ac1eb67553049665ed733013bca3c3749af916510f8f0c3693eadada1d6df0949c017cc
diff --git a/sci-mathematics/alt-ergo/alt-ergo-1.30.ebuild b/sci-mathematics/alt-ergo/alt-ergo-1.30.ebuild
new file mode 100644 (file)
index 0000000..46560c6
--- /dev/null
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Automatic theorem prover"
+HOMEPAGE="http://alt-ergo.ocamlpro.com"
+SRC_URI="https://alt-ergo.ocamlpro.com/http/${P}/${P}.tar.gz"
+
+LICENSE="CeCILL-C"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="examples gtk +ocamlopt"
+
+DEPEND=">=dev-lang/ocaml-3.12.1[ocamlopt?]
+       dev-ml/zarith
+       gtk? ( >=dev-ml/lablgtk-2.14[sourceview,ocamlopt?] )
+       dev-ml/camlzip
+       dev-ml/ocplib-simplex"
+RDEPEND="${DEPEND}"
+
+DOCS=( CHANGES INSTALL.md README.md )
+
+src_compile() {
+       emake
+       use gtk && emake gui
+}
+
+src_install() {
+       default
+       use gtk && emake DESTDIR="${D}" install-gui
+       insinto /usr/share/doc/${PF}
+       use examples && doins -r examples
+}
diff --git a/sci-mathematics/alt-ergo/metadata.xml b/sci-mathematics/alt-ergo/metadata.xml
new file mode 100644 (file)
index 0000000..8e305fa
--- /dev/null
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer type="person">
+               <email>tupone@gentoo.org</email>
+               <name>Tupone Alfredo</name>
+       </maintainer>
+       <longdescription lang="en">
+               Alt-Ergo is an open-source automatic solver of mathematical formulas
+               designed for program verification. It is based on Satisfiability Modulo
+               Theories (SMT). Solvers of this family have made impressive advances
+               and became very popular during the last decade. They are now used is
+               various domains such as hardware design, software verification and
+               formal testing.
+       </longdescription>
+</pkgmetadata>