diff options
author | Marek Szuba <marecki@gentoo.org> | 2021-10-13 00:21:50 +0200 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2021-10-13 00:22:59 +0200 |
commit | b45a40c4bb99747a5d1df39f387fb15af0863a7e (patch) | |
tree | 3fa290c2676b4efd877f0bc53ed43181fdd74052 /sci-libs/superlu_mt | |
parent | sci-libs/superlu: update HOMEPAGE (diff) | |
download | gentoo-b45a40c4bb99747a5d1df39f387fb15af0863a7e.tar.gz gentoo-b45a40c4bb99747a5d1df39f387fb15af0863a7e.tar.bz2 gentoo-b45a40c4bb99747a5d1df39f387fb15af0863a7e.zip |
sci-libs/superlu_mt: update EAPI 6 -> 8
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'sci-libs/superlu_mt')
-rw-r--r-- | sci-libs/superlu_mt/superlu_mt-3.1.ebuild | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/sci-libs/superlu_mt/superlu_mt-3.1.ebuild b/sci-libs/superlu_mt/superlu_mt-3.1.ebuild index dd832bde77be..f631900a16d9 100644 --- a/sci-libs/superlu_mt/superlu_mt-3.1.ebuild +++ b/sci-libs/superlu_mt/superlu_mt-3.1.ebuild @@ -1,12 +1,12 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 -inherit toolchain-funcs versionator +inherit toolchain-funcs -MYPN=SuperLU_MT -SOVERSION=$(get_major_version) +MY_PN=SuperLU_MT +SOVERSION=$(ver_cut 1) DESCRIPTION="Multithreaded sparse LU factorization library" HOMEPAGE="https://portal.nersc.gov/project/sparse/superlu/" @@ -20,13 +20,13 @@ RESTRICT="!test? ( test )" REQUIRED_USE="|| ( openmp threads )" RDEPEND="virtual/blas" -DEPEND="${RDEPEND} - virtual/pkgconfig +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig test? ( app-shells/tcsh )" -S="${WORKDIR}/${MYPN}_${PV}" +S="${WORKDIR}/${MY_PN}_${PV}" -PATCHES=( "${FILESDIR}"/${P}-duplicate-symbols.patch ) +PATCHES=( "${FILESDIR}"/${PN}-3.1-duplicate-symbols.patch ) pkg_setup() { if use openmp && ! use threads; then @@ -71,10 +71,10 @@ src_prepare() { src_compile() { # shared library emake PIC="-fPIC" \ - ARCH="echo" \ - ARCHFLAGS="" \ - RANLIB="echo" \ - superlulib + ARCH="echo" \ + ARCHFLAGS="" \ + RANLIB="echo" \ + superlulib $(tc-getCC) ${LDFLAGS} ${LDTHREADS} -shared -Wl,-soname=${SONAME} SRC/*.o \ $($(tc-getPKG_CONFIG) --libs blas) -lm -o lib/${SONAME} || die ln -s ${SONAME} lib/libsuperlu_mt.so || die @@ -97,7 +97,7 @@ src_install() { dodoc README use doc && dodoc DOC/ug.pdf if use examples; then - insinto /usr/share/doc/${PF}/examples - doins -r EXAMPLE/* make.inc + docinto /examples + dodoc -r EXAMPLE/* make.inc fi } |