summaryrefslogtreecommitdiff
path: root/sci-mathematics/cryptominisat/cryptominisat-5.11.4.ebuild
blob: a4f699cc2afd3b843bb994812b6b727a7b890fca (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
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake

DESCRIPTION="Advanced SAT solver with C++ and command-line interfaces"
HOMEPAGE="https://github.com/msoos/cryptominisat/"
SRC_URI="https://github.com/msoos/${PN}/archive/${PV}.tar.gz
	-> ${P}.tar.gz"

SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
LICENSE="GPL-2 MIT"
RESTRICT="test"  # tests require many convoluted bundled (git) modules

RDEPEND="
	dev-libs/boost:=
	sys-libs/zlib:=
"
DEPEND="${RDEPEND}"

src_configure() {
	local -a mycmakeargs=(
		-DNOBREAKID=ON
		-DNOM4RI=ON
		-DENABLE_TESTING=OFF
	)
	cmake_src_configure
}

src_install() {
	cmake_src_install

	dodir /usr/share/man
	mv "${ED}"/usr/man "${ED}"/usr/share/man || die
}