mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-10 00:10:19 +03:00
Per the category metadata, app-doc/ is reserved for documentation *files* and not software. Move it to app-text/ where it seems a better fit. Signed-off-by: Michał Górny <mgorny@gentoo.org>
35 lines
786 B
Bash
35 lines
786 B
Bash
# Copyright 1999-2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
DESCRIPTION="API for distributing embarrassingly parallel workloads using self-stabilization"
|
|
HOMEPAGE="https://github.com/hpc/libcircle"
|
|
SRC_URI="https://github.com/hpc/libcircle/releases/download/v$(ver_cut 1-2)/${P}.tar.gz"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86 ~amd64-linux"
|
|
IUSE="doc test"
|
|
RESTRICT="!test? ( test )"
|
|
|
|
RDEPEND="virtual/mpi"
|
|
DEPEND="${RDEPEND}
|
|
test? ( dev-libs/check )"
|
|
BDEPEND="doc? ( app-text/doxygen )"
|
|
|
|
src_configure() {
|
|
econf \
|
|
--disable-static \
|
|
$(use_enable doc doxygen) \
|
|
$(use_enable test tests)
|
|
}
|
|
|
|
src_install() {
|
|
use doc && HTML_DOCS=( doc/html/. )
|
|
default
|
|
|
|
# no static archives
|
|
find "${ED}" -name '*.la' -delete || die
|
|
}
|