Сравнение netcdf-cxx-4.2-r301 с netcdf-cxx-4.3.1
| /usr/portage/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1.ebuild 2024-07-02 13:51:49.313851592 +0300 | ||
|---|---|---|
| 3 | 3 | |
| 4 | 4 |
EAPI=7 |
| 5 | 5 | |
| 6 |
inherit autotools |
|
| 6 |
inherit libtool |
|
| 7 | 7 | |
| 8 |
MYP=${PN}4-${PV}
|
|
| 8 | 9 |
DESCRIPTION="C++ library for netCDF" |
| 9 | 10 |
HOMEPAGE="https://www.unidata.ucar.edu/software/netcdf/" |
| 10 |
SRC_URI="https://www.unidata.ucar.edu/downloads/netcdf/ftp/${P}.tar.gz"
|
|
| 11 |
SRC_URI="https://github.com/Unidata/netcdf-cxx4/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
| 11 | 12 | |
| 12 | 13 |
LICENSE="UCAR-Unidata" |
| 13 |
SLOT="3" |
|
| 14 |
SLOT="0/1" |
|
| 14 | 15 |
KEYWORDS="amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" |
| 15 | 16 |
IUSE="examples" |
| 17 |
# 6 out of 9 fail, reported upstream |
|
| 18 |
RESTRICT="test" |
|
| 16 | 19 | |
| 17 |
RDEPEND=">=sci-libs/netcdf-4.2:0=" |
|
| 20 |
RDEPEND=">=sci-libs/netcdf-4.2:=[hdf5]" |
|
| 18 | 21 |
DEPEND="${RDEPEND}"
|
| 19 | 22 | |
| 23 |
S="${WORKDIR}/${MYP}"
|
|
| 24 | ||
| 25 |
PATCHES=( |
|
| 26 |
"${FILESDIR}"/${P}-slibtool.patch
|
|
| 27 |
) |
|
| 28 | ||
| 20 | 29 |
src_prepare() {
|
| 21 | 30 |
default |
| 22 |
eautoreconf |
|
| 31 |
elibtoolize |
|
| 23 | 32 |
} |
| 24 | 33 | |
| 25 | 34 |
src_configure() {
|
| ... | ... | |
| 28 | 37 | |
| 29 | 38 |
src_install() {
|
| 30 | 39 |
default |
| 31 | ||
| 32 |
if use examples ; then |
|
| 33 |
docinto examples |
|
| 34 |
dodoc -r examples |
|
| 35 |
fi |
|
| 40 |
use examples && dodoc -r examples |
|
| 41 |
find "${ED}" -name '*.la' -delete || die
|
|
| 36 | 42 |
} |