diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-11 19:38:57 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-11 19:38:57 +0100 |
commit | c650f7cf611feaa59620fd8626e78108fa3b5e51 (patch) | |
tree | 31eba3ef4db85c7cef7cfb89ee87c81e732928a9 /sci-mathematics/otter/otter-3.3-r4.ebuild | |
parent | 59970d0b9cd0a564851f255aebb29a9f76e39c19 (diff) |
gentoo auto-resync : 11:10:2022 - 19:38:57
Diffstat (limited to 'sci-mathematics/otter/otter-3.3-r4.ebuild')
-rw-r--r-- | sci-mathematics/otter/otter-3.3-r4.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/sci-mathematics/otter/otter-3.3-r4.ebuild b/sci-mathematics/otter/otter-3.3-r4.ebuild new file mode 100644 index 000000000000..edf670138134 --- /dev/null +++ b/sci-mathematics/otter/otter-3.3-r4.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="An Automated Deduction System" +HOMEPAGE="http://www.cs.unm.edu/~mccune/otter/" +SRC_URI="http://www.cs.unm.edu/~mccune/otter/${P}.tar.gz" + +LICENSE="otter" +SLOT="0" +KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux ~ppc-macos" + +RDEPEND=" + x11-libs/libX11 + x11-libs/libXaw + x11-libs/libXt" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-build.patch + "${FILESDIR}"/${P}-gold.patch + "${FILESDIR}"/${P}-clang16.patch +) + +src_configure() { + append-cflags -fcommon + append-cflags -std=gnu89 # old codebase, incompatible with c2x + append-cppflags -D_GNU_SOURCE #871423 (gethostname, caddr_t) +} + +src_compile() { + tc-export AR CC + + emake -C source + emake -C mace2 +} + +src_install() { + dobin bin/* source/formed/formed + + dodoc README* Legal Changelog Contents documents/*.pdf + + insinto /usr/share/${PN} + doins -r examples examples-mace2 +} |