Diff btf-1.2.6 with a btf-2.0.3
/usr/portage/sci-libs/btf/btf-2.0.3.ebuild 2023-10-09 14:52:35.060368491 +0300 | ||
---|---|---|
1 | 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 |
inherit cmake-multilib |
|
7 | ||
8 |
Sparse_PV="7.0.0" |
|
9 |
Sparse_P="SuiteSparse-${Sparse_PV}" |
|
6 | 10 |
DESCRIPTION="Algorithm for matrix permutation into block triangular form" |
7 | 11 |
HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html" |
8 |
SRC_URI="http://202.36.178.9/sage/${P}.tar.bz2" |
|
12 |
SRC_URI="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${Sparse_PV}.tar.gz -> ${Sparse_P}.gh.tar.gz" |
|
9 | 13 | |
10 |
LICENSE="LGPL-2.1+" |
|
11 |
SLOT="0" |
|
12 |
KEYWORDS="amd64 ~arm arm64 ~hppa ~ppc ppc64 ~riscv sparc ~x86 ~amd64-linux ~x86-linux" |
|
14 |
LICENSE="LGPL-2.1" |
|
15 |
SLOT="0/2" |
|
16 |
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" |
|
13 | 17 | |
14 |
DEPEND="sci-libs/suitesparseconfig" |
|
18 |
DEPEND=">=sci-libs/suitesparseconfig-${Sparse_PV}" |
|
15 | 19 |
RDEPEND="${DEPEND}" |
16 |
BDEPEND="virtual/pkgconfig" |
|
17 | ||
18 |
src_configure() { |
|
19 |
econf --disable-static |
|
20 |
} |
|
21 | 20 | |
22 |
src_install() { |
|
23 |
default |
|
21 |
S="${WORKDIR}/${Sparse_P}/${PN^^}" |
|
24 | 22 | |
25 |
# no static archives |
|
26 |
find "${ED}" -name '*.la' -delete || die |
|
23 |
multilib_src_configure() { |
|
24 |
local mycmakeargs=( |
|
25 |
-DNSTATIC=ON |
|
26 |
) |
|
27 |
cmake_src_configure |
|
27 | 28 |
} |