summaryrefslogtreecommitdiff
path: root/dev-libs/picosat/picosat-965.ebuild
blob: 8039cc7a75da34951adbe96512b5a322f0761910 (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
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="PicoSAT solver"
HOMEPAGE="http://fmv.jku.at/picosat/"
SRC_URI="http://fmv.jku.at/${PN}/${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="bin"

src_configure() {
	./configure.sh --stats --trace --shared
}

src_compile () {
	emake -j1
}

src_install() {
	dolib.a libpicosat.a
	dolib.so libpicosat.so
	doheader picosat.h

	if use bin; then
		dobin picosat
		dobin picomcs
		dobin picomus
		dobin picogcnf
	fi
}