diff options
Diffstat (limited to 'sci-libs/netcdf-cxx')
-rw-r--r-- | sci-libs/netcdf-cxx/Manifest | 1 | ||||
-rw-r--r-- | sci-libs/netcdf-cxx/netcdf-cxx-4.3.0.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/sci-libs/netcdf-cxx/Manifest b/sci-libs/netcdf-cxx/Manifest index 9c5d782de701..a083069bcc65 100644 --- a/sci-libs/netcdf-cxx/Manifest +++ b/sci-libs/netcdf-cxx/Manifest @@ -1,2 +1,3 @@ DIST netcdf-cxx-4.2.1.tar.gz 456547 BLAKE2B e973f064ad40c0d0cb76766f3b1639d16ed7eaae73d8e55db011645fc0d4e6f8949a60aeb9d47a4f8e88b3c5b2d486d42442e417908a2194b8b9a5e720ba2ff5 SHA512 d51ab1cbda74db5f7b074799d2407d0214d1c920af780ae3bb7a47b3708e45f721be7eec61902e035968a9df5019a7b2b5a10f236f6bab4cb47a26e4e7867adb DIST netcdf-cxx-4.2.tar.gz 703482 BLAKE2B a6727b7305204d2b53e6ee951c8165b03cd07f14e5d59a306445481272d0e10eb077e4bc62a2586c57652cb8273b9098ed77836f9023817d8a9e6ef51ac2cfe8 SHA512 347ddbc518ac2186868d69417342e5146e285fc3a88f7c55edc33063f5c9a6647af7e512a03b9b6a8f67a448b85a1edcdde5df707b893f6a1527821cfd78e643 +DIST netcdf-cxx-4.3.0.tar.gz 985897 BLAKE2B 89cfd85764ff8fc730c7cb4187df21a4245cd932bcf86df4edf36eb7ae636906eaafc25cfcbb3dd58bc1d346edacd7f80daa3be9a544d5d777d32ad115cfd00f SHA512 8e77333c979513721209e6b3fde31c298e18a45d7ea08123056e8120469eb8c4024d71289fab2b9182ee19ee7b6ad22bd133525bef048a497ede4aa2e9017465 diff --git a/sci-libs/netcdf-cxx/netcdf-cxx-4.3.0.ebuild b/sci-libs/netcdf-cxx/netcdf-cxx-4.3.0.ebuild new file mode 100644 index 000000000000..3b997cf9c659 --- /dev/null +++ b/sci-libs/netcdf-cxx/netcdf-cxx-4.3.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils + +MYP=${PN}4-${PV} + +DESCRIPTION="C++ library for netCDF" +HOMEPAGE="http://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 static-libs" + +RDEPEND=">=sci-libs/netcdf-4.2:=[hdf5]" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MYP}" + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + default + use examples && dodoc -r examples + prune_libtool_files +} |