mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
sci-mathematics/aspcud: new package, add 1.9.5
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
37
sci-mathematics/aspcud/aspcud-1.9.5.ebuild
Normal file
37
sci-mathematics/aspcud/aspcud-1.9.5.ebuild
Normal file
@@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake optfeature
|
||||
|
||||
DESCRIPTION="A solver for package problems in CUDF format"
|
||||
HOMEPAGE="
|
||||
https://github.com/potassco/aspcud
|
||||
https://potassco.org/aspcud/
|
||||
"
|
||||
SRC_URI="https://github.com/potassco/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-libs/boost:="
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="dev-util/re2c"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DASPCUD_BUILD_TESTS=$(usex test)
|
||||
|
||||
-DASPCUD_BUILD_STATIC=OFF
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "dependencies needed at runtime" sci-mathematics/clasp sci-mathematics/clingo
|
||||
}
|
||||
Reference in New Issue
Block a user