Сравнение unuran-1.9.0 с unuran-1.12.0
| /usr/portage/sci-mathematics/unuran/unuran-1.12.0.ebuild 2026-09-07 20:03:07.392571996 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2023 Gentoo Authors |
|
| 1 |
# Copyright 1999-2026 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 |
EAPI=7 |
|
| 4 |
EAPI=8 |
|
| 5 | 5 | |
| 6 |
inherit autotools out-of-source |
|
| 6 |
inherit autotools |
|
| 7 | 7 | |
| 8 | 8 |
DESCRIPTION="Universal Non-Uniform Random number generator" |
| 9 | 9 |
HOMEPAGE="https://statmath.wu.ac.at/unuran/" |
| ... | ... | |
| 11 | 11 | |
| 12 | 12 |
LICENSE="GPL-2" |
| 13 | 13 |
SLOT="0" |
| 14 |
KEYWORDS="amd64 ~x86" |
|
| 14 |
KEYWORDS="~amd64 ~x86" |
|
| 15 | 15 |
IUSE="doc examples gsl prng +rngstreams" |
| 16 | 16 | |
| 17 | 17 |
DEPEND=" |
| 18 | 18 |
gsl? ( sci-libs/gsl:= ) |
| 19 | 19 |
prng? ( sci-mathematics/prng ) |
| 20 |
rngstreams? ( sci-mathematics/rngstreams:= )" |
|
| 20 |
rngstreams? ( sci-mathematics/rngstreams )" |
|
| 21 | 21 |
RDEPEND="${DEPEND}"
|
| 22 | 22 | |
| 23 |
PATCHES=( |
|
| 24 |
"${FILESDIR}"/${PN}-1.9.0-configure-clang16.patch
|
|
| 25 |
) |
|
| 26 | ||
| 27 | 23 |
src_prepare() {
|
| 28 | 24 |
default |
| 29 | ||
| 30 |
# Clang 16 |
|
| 31 | 25 |
eautoreconf |
| 32 | 26 |
} |
| 33 | 27 | |
| 34 |
my_src_configure() {
|
|
| 28 |
src_configure() {
|
|
| 35 | 29 |
local udefault=builtin |
| 36 | 30 |
use rngstreams && udefault=rngstream |
| 37 | 31 | |
| 38 |
CONFIG_SHELL="${BROOT}"/bin/bash econf \
|
|
| 32 |
econf \ |
|
| 39 | 33 |
--enable-shared \ |
| 40 | 34 |
--disable-static \ |
| 41 | 35 |
--with-urng-default="${udefault}" \
|
| ... | ... | |
| 44 | 38 |
$(use_with rngstreams urng-rngstream) |
| 45 | 39 |
} |
| 46 | 40 | |
| 47 |
my_src_install_all() {
|
|
| 41 |
src_install() {
|
|
| 42 |
default |
|
| 43 | ||
| 48 | 44 |
use doc && dodoc doc/${PN}.pdf
|
| 49 | 45 |
einstalldocs |
| 50 | 46 | |