diff options
author | Jakov Smolic <jakov.smolic@sartura.hr> | 2021-02-15 09:42:49 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-02-15 09:42:49 +0100 |
commit | ba774dd15cf6c0b1de1434e6c79d33610cdef7c8 (patch) | |
tree | 2bef380f6cbf2e4bc6858ed18c02abc97022e881 /sci-libs/netcdf-cxx/netcdf-cxx-4.3.1.ebuild | |
parent | sci-libs/ccfits: Port to EAPI 7 (diff) | |
download | gentoo-ba774dd15cf6c0b1de1434e6c79d33610cdef7c8.tar.gz gentoo-ba774dd15cf6c0b1de1434e6c79d33610cdef7c8.tar.bz2 gentoo-ba774dd15cf6c0b1de1434e6c79d33610cdef7c8.zip |
sci-libs/netcdf-cxx: Bump to 4.3.1
Closes: https://github.com/gentoo/gentoo/pull/19468
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-libs/netcdf-cxx/netcdf-cxx-4.3.1.ebuild')
-rw-r--r-- | sci-libs/netcdf-cxx/netcdf-cxx-4.3.1.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1.ebuild b/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1.ebuild new file mode 100644 index 000000000000..7e359955fe34 --- /dev/null +++ b/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MYP=${PN}4-${PV} +DESCRIPTION="C++ library for netCDF" +HOMEPAGE="https://www.unidata.ucar.edu/software/netcdf/" +SRC_URI="https://github.com/Unidata/netcdf-cxx4/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="UCAR-Unidata" +SLOT="0/1" +KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" +IUSE="examples" +# 6 out of 9 fail, reported upstream +RESTRICT="test" + +RDEPEND=">=sci-libs/netcdf-4.2:=[hdf5]" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MYP}" + +src_configure() { + econf --disable-static +} + +src_install() { + default + use examples && dodoc -r examples + find "${ED}" -name '*.la' -delete || die +} |