gentoo/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1-r1.ebuild
Fabian Groffen 2d25fad95c
*/*: drop *-linux keywords
Bug: https://bugs.gentoo.org/473598
Bug: https://bugs.gentoo.org/720224
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
2025-12-19 10:51:55 +01:00

39 lines
740 B
Bash

# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit libtool
MYP=${PN}4-${PV}
DESCRIPTION="C++ library for netCDF"
HOMEPAGE="https://www.unidata.ucar.edu/software/netcdf/"
SRC_URI="https://downloads.unidata.ucar.edu/netcdf-cxx/${PV}/${PN}4-${PV}.tar.gz"
LICENSE="UCAR-Unidata"
SLOT="0/1"
KEYWORDS="amd64 ~arm ~arm64 ~x86"
IUSE="examples"
# 6 out of 9 fail, reported upstream
#RESTRICT="test"
RDEPEND=">=sci-libs/netcdf-4.2:=[hdf5]"
DEPEND="${RDEPEND}"
S="${WORKDIR}/${MYP}"
PATCHES=(
"${FILESDIR}"/${P}-slibtool.patch
)
src_prepare() {
default
elibtoolize
}
src_install() {
default
use examples && dodoc -r examples
find "${ED}" -name '*.la' -delete || die
}