Diff openlibm-0.7.5 with a openlibm-0.8.0
/usr/portage/sci-libs/openlibm/openlibm-0.8.0.ebuild 2023-10-09 14:52:35.092368491 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2021 Gentoo Authors |
|
1 |
# Copyright 1999-2023 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 | 6 |
inherit toolchain-funcs |
7 | 7 | |
... | ... | |
9 | 9 |
HOMEPAGE="https://github.com/JuliaLang/openlibm" |
10 | 10 |
SRC_URI="https://github.com/JuliaMath/openlibm/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
11 | 11 | |
12 |
IUSE="static-libs" |
|
12 | 13 |
LICENSE="public-domain MIT ISC BSD-2 LGPL-2.1+" |
13 | 14 |
# See https://abi-laboratory.pro/index.php?view=timeline&l=openlibm |
14 |
SLOT="0/3" |
|
15 |
SLOT="0/4" |
|
15 | 16 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
16 | 17 | |
17 | 18 |
src_prepare() { |
18 | 19 |
default |
19 |
sed -e "/^OLM_LIBS :=/s/^/#/" \ |
|
20 |
-e "/install: /s/install-static//" \ |
|
21 |
-i Makefile || die |
|
20 |
sed -e "/^OLM_LIBS :=/s/^/#/" -i Makefile || die |
|
21 |
if ! use static-libs ; then |
|
22 |
sed -e "/install: /s/install-static//" -i Makefile || die |
|
23 |
fi |
|
22 | 24 |
} |
23 | 25 | |
24 | 26 |
src_configure() { |