diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-01-10 06:19:57 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-01-10 06:19:57 +0000 |
commit | 30f491533785a455cdfbd05bb57f1f869a8e41bb (patch) | |
tree | 231d01a9349dfa1f56a7235017f5201a7382c652 /sci-mathematics/kissat/kissat-3.0.0.ebuild | |
parent | a96f1a2ca235a5eb9e7c498636cd1291be76cb09 (diff) |
gentoo auto-resync : 10:01:2023 - 06:19:57
Diffstat (limited to 'sci-mathematics/kissat/kissat-3.0.0.ebuild')
-rw-r--r-- | sci-mathematics/kissat/kissat-3.0.0.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/sci-mathematics/kissat/kissat-3.0.0.ebuild b/sci-mathematics/kissat/kissat-3.0.0.ebuild new file mode 100644 index 000000000000..3c36cf0cd9ef --- /dev/null +++ b/sci-mathematics/kissat/kissat-3.0.0.ebuild @@ -0,0 +1,37 @@ +# 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" + +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 +} |