blob: 034f9e16ed08da0a6b60fb1c90dbeaa7b1793462 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=9
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/"
if [[ "${PV}" == *9999* ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/arminbiere/${PN}"
else
SRC_URI="https://github.com/arminbiere/${PN}/archive/rel-${PV}.tar.gz
-> ${P}.gh.tar.gz"
S="${WORKDIR}/${PN}-rel-${PV}"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="MIT"
SLOT="0"
RDEPEND="
!>=x11-terms/kitty-0.27
"
DOCS=( CONTRIBUTING NEWS.md README.md )
src_configure() {
local myopts=(
CC="$(tc-getCC) ${CFLAGS} ${LDFLAGS}"
--kitten
--statistics
)
sh ./configure "${myopts[@]}" || die
}
src_compile() {
emake AR="$(tc-getAR)"
}
src_install() {
dobin build/{kissat,kitten}
einstalldocs
}
|