mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-08 00:05:33 +03:00
sci-mathematics/eprover: bump to 3.2.5
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
parent
f1c14e3a77
commit
c68a719fb2
@ -1 +1,2 @@
|
||||
DIST eprover-3.0.03.tar.gz 1523036 BLAKE2B fc58b4f99b4fcd8ef4b0704c6fb65e7ef235582d8e2cdef17fd178ec51b7655459dbbf9d0d20ef00edf15f893aefdd4dd07c7fe402e42a5378b4bf241af6c806 SHA512 3adce986eb0d6d6b8373b10d8104ca2a68c72c92cd5c8cb7416044b1ae67daa0b8da82c13e85129d0699217b26a98df15768a5b0dca927ab26920a26dbba9662
|
||||
DIST eprover-3.2.5.tar.gz 1525661 BLAKE2B 59dc48ee20f45f04e976a04aea79aa8f654f973eb46745fa4f1b0e3ba5b74a03e947cc9c45cdd657e51de9c5a2563d5847a7274692b113e0fb3339fa28b450e3 SHA512 632a0bcc46d4c2d7b74240815c6157797df65a4fd322f58906ad1bb37b270ceb9a0eea06139640233faa34ded7a816fbf023d0efc536e14a5b3cb2f7e9f9bb95
|
||||
|
||||
78
sci-mathematics/eprover/eprover-3.2.5.ebuild
Normal file
78
sci-mathematics/eprover/eprover-3.2.5.ebuild
Normal file
@ -0,0 +1,78 @@
|
||||
# Copyright 1999-2025 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
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-3.0.03-unistd.patch" )
|
||||
|
||||
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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user