summaryrefslogtreecommitdiff
path: root/sci-mathematics/eprover
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-01-15 23:10:09 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-01-15 23:10:09 +0000
commit02f2811de683662c5c6f5f120de6b59898ed6b98 (patch)
tree3f181b9668c22e5f983e5215c49ebca4f93d8154 /sci-mathematics/eprover
parent4c588f061163483deaeecd52e6a5743762d2603e (diff)
gentoo auto-resync : 15:01:2024 - 23:10:08
Diffstat (limited to 'sci-mathematics/eprover')
-rw-r--r--sci-mathematics/eprover/Manifest2
-rw-r--r--sci-mathematics/eprover/eprover-3.0.03.ebuild76
2 files changed, 78 insertions, 0 deletions
diff --git a/sci-mathematics/eprover/Manifest b/sci-mathematics/eprover/Manifest
index f8bc6843e9d2..d8d517a4c560 100644
--- a/sci-mathematics/eprover/Manifest
+++ b/sci-mathematics/eprover/Manifest
@@ -1,3 +1,5 @@
+DIST eprover-3.0.03.tar.gz 1523036 BLAKE2B fc58b4f99b4fcd8ef4b0704c6fb65e7ef235582d8e2cdef17fd178ec51b7655459dbbf9d0d20ef00edf15f893aefdd4dd07c7fe402e42a5378b4bf241af6c806 SHA512 3adce986eb0d6d6b8373b10d8104ca2a68c72c92cd5c8cb7416044b1ae67daa0b8da82c13e85129d0699217b26a98df15768a5b0dca927ab26920a26dbba9662
DIST eprover-3.0_pre008.tar.gz 1512310 BLAKE2B 88533bd05b823155639df49d631f4fb339019f624ea6cb1c3c7c46f1db331183dac4285c70a7efa372cbf3f0e839ec41b7589b93e4599a6ed94f42734f361985 SHA512 81f1a1dfd77b685805c80f95b683489d8759acbb5b45ebaf123f1b0f7cb82f9e2d58731975e5286afa9a8bf9d2874cc5362edc0c0da92aea39830ac4b8b1c4ec
+EBUILD eprover-3.0.03.ebuild 1583 BLAKE2B 901b5e279a4394fa9f53e1b0c33867a741532576a862cb691182a9be4dc1cc360c5664d4ca0ab60f6969a45d7d31ba77ab60a57ca70bc576fcdf1ef85b927c3c SHA512 8faeb8033d341adeb2f6e93b3c47c36c79706c19d9e0e93bb52ffb1bc461765d31b916bfe4e8dc9b0c75f5e7d2312d1d98e6cc3ecaf6f9ce13239a485eff2db5
EBUILD eprover-3.0_pre008.ebuild 1513 BLAKE2B 61b58f4bd5eb1a29a79c342a5b1d30c28a0de907005f9d039fec9e42c91fa5d6a7d429743a00b9075412bdb8464b3bd1bfd2e5305553542a50d7a2070a36f496 SHA512 ffe77b4d6160f63628d82b813bf331107292335d14b5cbe41489d3ff74aa2b3fa3894f20d33fb098c0259f7807876d39dd2810b9af200604fc56f19b0e711b63
MISC metadata.xml 1534 BLAKE2B f53ad8e4eeccf361718ecbe735f72fbb0645478dd5a3c7b1e6baab718c1a15e9852c11d0074181b48b2402065b090fe95ba65cdc6bed4e84ff6e59aa6174446b SHA512 08caa0f223c5aa25935cba3cf12e11af77e59fc364b26a1aab9d622500245cd7a650143b1fe14bc3dc377e40f6b3018048c567dff40557e70738618a205e9743
diff --git a/sci-mathematics/eprover/eprover-3.0.03.ebuild b/sci-mathematics/eprover/eprover-3.0.03.ebuild
new file mode 100644
index 000000000000..ef6b9196aa7d
--- /dev/null
+++ b/sci-mathematics/eprover/eprover-3.0.03.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Automated theorem prover for full first-order logic with equality"
+HOMEPAGE="https://www.eprover.org/
+ https://github.com/eprover/eprover/"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/eprover/${PN}.git"
+else
+ SRC_URI="https://github.com/eprover/${PN}/archive/E-${PV/_/}.tar.gz
+ -> ${P}.tar.gz"
+ S="${WORKDIR}/${PN}-E-${PV/_/}"
+
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-2+"
+SLOT="0"
+IUSE="+ho"
+
+BDEPEND="
+ sys-apps/help2man
+"
+
+src_prepare() {
+ default
+
+ sed -e "/^OPTFLAGS/s|= .*|= ${CFLAGS}|" \
+ -e "/^LD/s|= .*|= $(tc-getCC) ${LDFLAGS}|" \
+ -e "/^ AR/s|ar|$(tc-getAR)|" \
+ -e "/^ CC/s|gcc|$(tc-getCC)|" \
+ -i "${S}/Makefile.vars" || die
+
+ sed -e "s|ar rc|$(tc-getAR) rc|g" \
+ -e "s|ranlib|$(tc-getRANLIB)|g" \
+ -i "${S}/CONTRIB/picosat-965/makefile.in" || die
+}
+
+src_configure() {
+ local -a myconf=(
+ $(usex ho '--enable-ho' '')
+ --bindir=/usr/bin
+ --exec-prefix=/usr
+ --man-prefix=/usr/share/man/man1
+ )
+ sh ./configure "${myconf[@]}" || die
+}
+
+src_compile() {
+ default
+
+ if use ho ; then
+ ln -s "${S}/PROVER/${PN}-ho" "${S}/PROVER/${PN}" || die
+ fi
+
+ emake man
+}
+
+src_install() {
+ # Picosat (CONTRIB package) is available as separate package.
+ rm -r "${S}/CONTRIB" || die
+
+ emake EXECPATH="${ED}/usr/bin" MANPATH="${ED}/usr/share/man/man1" install
+ dodoc -r DOC EXAMPLE_PROBLEMS
+
+ if use ho ; then
+ dosym -r "/usr/bin/${PN}-ho" "/usr/bin/${PN}"
+ fi
+}