add sci-mathematics/{soplex,papilo}
[nodoc-overlay.git] / sci-mathematics / soplex / soplex-9999.ebuild
1 # Copyright 1999-2026 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
3
4 EAPI=8
5
6 inherit cmake git-r3
7
8 DESCRIPTION="Sequential object-oriented simPlex"
9 HOMEPAGE="https://soplex.zib.de"
10 EGIT_REPO_URI="https://github.com/scipopt/soplex"
11
12 LICENSE="Apache-2.0"
13 SLOT="0"
14 KEYWORDS=""
15 IUSE="boost gmp lto mpfr papilo quadmath zlib"
16
17 RDEPEND="
18 boost? ( >=dev-libs/boost-1.65.0 )
19 gmp? ( dev-libs/gmp )
20 mpfr? ( dev-libs/mpfr )
21 papilo? ( sci-mathematics/papilo )
22 zlib? ( sys-libs/zlib )
23 "
24
25 DEPEND="${RDEPEND}"
26
27 src_configure() {
28 local mycmakeargs=(
29 -DBOOST=$(usex boost "ON" "OFF")
30 -DGMP=$(usex gmp "ON" "OFF")
31 -DLTO=$(usex lto "ON" "OFF")
32 -DMPFR=$(usex mpfr "ON" "OFF")
33 -DPAPILO=$(usex papilo "ON" "OFF")
34 -DQUADMATH=$(usex quadmath "ON" "OFF")
35 -DZLIB=$(usex zlib "ON" "OFF")
36 )
37
38 cmake_src_configure
39 }