diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-11 06:11:21 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-11 06:11:21 +0100 |
commit | 8d839e24e6b6e9a28d945d1dc094e65e2b0ccc2d (patch) | |
tree | 5c70850cc5043e63ccc5501b8beb713d928a2935 /sci-mathematics/kissat/kissat-3.1.1.ebuild | |
parent | 82002be95de85b10f5953f5e10ced81a40ec1fba (diff) |
gentoo auto-resync : 11:10:2023 - 06:11:21
Diffstat (limited to 'sci-mathematics/kissat/kissat-3.1.1.ebuild')
-rw-r--r-- | sci-mathematics/kissat/kissat-3.1.1.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/sci-mathematics/kissat/kissat-3.1.1.ebuild b/sci-mathematics/kissat/kissat-3.1.1.ebuild new file mode 100644 index 000000000000..4c1fed10488f --- /dev/null +++ b/sci-mathematics/kissat/kissat-3.1.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Keep-it-simple and clean bare metal SAT solver written in C" +HOMEPAGE="http://fmv.jku.at/kissat/ + https://github.com/arminbiere/kissat/" +SRC_URI="https://github.com/arminbiere/${PN}/archive/rel-${PV}.tar.gz + -> ${P}.tar.gz" +S="${WORKDIR}"/${PN}-rel-${PV} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="!>=x11-terms/kitty-0.27" + +src_configure() { + local myopts=( + CC="$(tc-getCC) ${CFLAGS} ${LDFLAGS}" + --kitten + --statistics + ) + sh ./configure "${myopts[@]}" || die +} + +src_compile() { + emake AR="$(tc-getAR)" +} + +src_install() { + dolib.a build/libkissat.a + exeinto /usr/bin/ + doexe build/{kissat,kitten} + dodoc CONTRIBUTING NEWS.md README.md +} |