summaryrefslogtreecommitdiff
path: root/sci-libs/netcdf-cxx
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-libs/netcdf-cxx
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-libs/netcdf-cxx')
-rw-r--r--sci-libs/netcdf-cxx/Manifest9
-rw-r--r--sci-libs/netcdf-cxx/files/netcdf-cxx-4.2-config.patch28
-rw-r--r--sci-libs/netcdf-cxx/metadata.xml20
-rw-r--r--sci-libs/netcdf-cxx/netcdf-cxx-4.2-r300.ebuild26
-rw-r--r--sci-libs/netcdf-cxx/netcdf-cxx-4.2.1-r1.ebuild36
-rw-r--r--sci-libs/netcdf-cxx/netcdf-cxx-4.2.1.ebuild36
6 files changed, 155 insertions, 0 deletions
diff --git a/sci-libs/netcdf-cxx/Manifest b/sci-libs/netcdf-cxx/Manifest
new file mode 100644
index 000000000000..8411225406e1
--- /dev/null
+++ b/sci-libs/netcdf-cxx/Manifest
@@ -0,0 +1,9 @@
+AUX netcdf-cxx-4.2-config.patch 829 SHA256 ebbd4e5f6dd84b8baf1187aa28983740c9714117469a6d243eb5e705a5b6dcfb SHA512 80d0a436103c8408898c065079f3988f706505bace1567a9eff1f5964cac3a09a97f8449b9dcd5bd994d1e3c6e9dfb646d8fcdfb0c5f659cdc64e0800234810f WHIRLPOOL 569bb744dd90ef7f4e11644791644a3467bb68e9d67fc6f6bca7127e0918f938056050bfdf6c1e6982f90efa27cd6c1654a9ac14d22cca3a27e74ebc1e1ea04a
+DIST netcdf-cxx-4.2.1.tar.gz 456547 SHA256 bad56abfc99f321829070c04aebb377fc8942a4d09e5a3c88ad2b6547ed50ebc SHA512 d51ab1cbda74db5f7b074799d2407d0214d1c920af780ae3bb7a47b3708e45f721be7eec61902e035968a9df5019a7b2b5a10f236f6bab4cb47a26e4e7867adb WHIRLPOOL b7787c2529b7a1be2523931fcafdff4f78562fbd11c4ad7e9bc318c1b856235413d8a45c2f58b07ca20a7a22e1e020251b11ac688cddae8cd04766005c4f08c8
+DIST netcdf-cxx-4.2.tar.gz 703482 SHA256 95ed6ab49a0ee001255eac4e44aacb5ca4ea96ba850c08337a3e4c9a0872ccd1 SHA512 347ddbc518ac2186868d69417342e5146e285fc3a88f7c55edc33063f5c9a6647af7e512a03b9b6a8f67a448b85a1edcdde5df707b893f6a1527821cfd78e643 WHIRLPOOL 783120762a26663377684cc7898749073b4431d6aa25fd2ff97b6ac12224dbc5303392fcdfafb2a4d841cd09dd90b723af4ebce1f32f8513bce19990bb9420bc
+EBUILD netcdf-cxx-4.2-r300.ebuild 608 SHA256 086bc9eff2eea0d18b781990c9b1a5b8ddaa562bfbe194e6ab6cdd920f9e1c83 SHA512 a916e243fabe91c34acd9db64e650b4ddc0a29c5130245417ba9891c9a25b9d57a591ea6f4c39e0e3baf24fc468329d4523aba751879967b5b5bc1a1826fb300 WHIRLPOOL 11cf64ac55f6f88c3b8e8ff4bca945759e654b64fc115cb4bd30dd12c6aa46073f135d4ad174a4c338bc580f6691a14eb22aa382087dc10dcbf26b5aa96579b4
+EBUILD netcdf-cxx-4.2.1-r1.ebuild 724 SHA256 39315a9d4fde50d256019e31d2fdcde8e0828ce671f321f00209f4ebf2344102 SHA512 f26e47e42927b90eb36a070fe986c4ac07bf0b548c4213adfbdcf0547c5fef3d31f8632629ffb780bd8709c83f1fe03c043d4d3c441112b1174f8db973a0f89d WHIRLPOOL 84cb091a7352bb012904bc9d05dc65bdbf1033ad8b1bcd7109336ca35aae89846a2a2fef495c6b2e122c1b86071bd0b8b1c3158b5ac41f3ca30d77bdca96fce1
+EBUILD netcdf-cxx-4.2.1.ebuild 753 SHA256 d92d481abb6a31f74f2934df2040c241d65024ab8bb36ff12c1f729de4e202a5 SHA512 62499af025029b60dfe6798a37d7a662e48146bc3b1cc999bc49a544f0d8be16b11296c386681486999a961c5a047c59f8f23ac68a102d025afffc07a7746978 WHIRLPOOL 2f5d4561a4e33fa6f8119490692339dc2adad887af73fd4db40be93e24178dadaefdb860c7a37c915b32edb54ab3a3ca1a58c0ed0cdc25363b9f2eb9de196ad2
+MISC ChangeLog 3509 SHA256 4285d1dccffa619a5682382e68f30855a7419b8a1ad3ba5be7bbc3318f07c39b SHA512 387de0950ea3c373306f3eeffdce9956efde4c1aeb8db2a69bc5fa6b76e9d69153a324902ac7379737739a13e33a1bc51806d95b567c644f7f9dade71cd72fc2 WHIRLPOOL db7577107053c5009d82556eeec272f651ebcb4ce3ebd7e630dcf3722cc6d1d44cf9ffd295a5d020834d12166bcd8607f8115c2ae8e81ffa2a83d4222f80a1e2
+MISC ChangeLog-2015 1720 SHA256 dc64548d2b8a1cc039a4b3d530e3d1d585deedfce30b8286ef9de1daee28b030 SHA512 590838e4b10e80506f3414fc2257921868176fdffc239fa790a2191905f779f0b494344c9d3632e23c1d21cadc4eaf02bfcd60f2412c144ebcaa6d368665d9e5 WHIRLPOOL 7edef32e44b1ee32bf9449daf425225b9e6ec834df6014c32e51599f02d0f0d748106110c3a48c861251382ef6322b4b1031cd278c091d551554f4d1c460c6ef
+MISC metadata.xml 838 SHA256 03c63b59c0295d0e86363a182f813d868e6008cd3f3afeba4095111fe326a272 SHA512 7db14bcbc67509b05f00dcd0e0ee33281ad1d77e566c1de0362058d0fb7c3d2b82430377fb5df4bb09c3e0b9c3fee0d8ddbd9861a24e4b13e70b1151acb26c5b WHIRLPOOL ccfa8e745ee083fd753090d83c361c5bd0ed956c99093a0afaacfa066da4f7e3f76122b1eac3fce291d4c884f324007a9857a2fd1132ae20faaee448998e7b92
diff --git a/sci-libs/netcdf-cxx/files/netcdf-cxx-4.2-config.patch b/sci-libs/netcdf-cxx/files/netcdf-cxx-4.2-config.patch
new file mode 100644
index 000000000000..50b6b478bdb1
--- /dev/null
+++ b/sci-libs/netcdf-cxx/files/netcdf-cxx-4.2-config.patch
@@ -0,0 +1,28 @@
+--- netcdf-cxx4-4.2.1/ncxx4-config.in.orig 2013-01-10 10:47:00.595224631 -0800
++++ netcdf-cxx4-4.2.1/ncxx4-config.in 2013-01-10 10:49:22.856926765 -0800
+@@ -5,7 +5,7 @@
+
+ prefix=@prefix@
+ exec_prefix=${prefix}
+-libdir=${exec_prefix}/lib
++libdir=@libdir@
+ includedir=${prefix}/include
+
+ cc="@CC@"
+@@ -13,7 +13,7 @@
+ fc="@FC@"
+ cflags=" -I${includedir} @CPPFLAGS@"
+ fflags="@FFLAGS@ @MOD_FLAG@${includedir}"
+-libs="-L${libdir} @NC_LIBS@"
++libs="-L${libdir} @NC_LIBS@ -lnetcdf"
+ flibs="-L${libdir} @NC_FLIBS@"
+ has_dap="@HAS_DAP@"
+ has_nc2="@HAS_NC2@"
+--- netcdf-cxx4-4.2.1/netcdf-cxx4.pc.in.orig 2013-01-10 10:46:50.995177250 -0800
++++ netcdf-cxx4-4.2.1/netcdf-cxx4.pc.in 2013-01-10 10:49:45.030036161 -0800
+@@ -10,4 +10,4 @@
+ Version: @PACKAGE_VERSION@
+ Libs: -L${libdir} @NC_LIBS@
+ Cflags: -I${includedir}
+-
++Requires: netcdf
diff --git a/sci-libs/netcdf-cxx/metadata.xml b/sci-libs/netcdf-cxx/metadata.xml
new file mode 100644
index 000000000000..534ebb4466b0
--- /dev/null
+++ b/sci-libs/netcdf-cxx/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+ <longdescription lang="en">
+ NetCDF (network Common Data Form) is an interface for scientific
+ data access and a freely-distributed software library that provides an
+ implementation of the interface. The netCDF library also defines a
+ machine-independent format for representing scientific data.
+ Together, the interface, library, and format support the creation,
+ access, and sharing of scientific data.
+ This is the C++ library which links to the C library.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">Unidata/netcdf-cxx4</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sci-libs/netcdf-cxx/netcdf-cxx-4.2-r300.ebuild b/sci-libs/netcdf-cxx/netcdf-cxx-4.2-r300.ebuild
new file mode 100644
index 000000000000..5e1d1c252b1a
--- /dev/null
+++ b/sci-libs/netcdf-cxx/netcdf-cxx-4.2-r300.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools-utils versionator
+
+DESCRIPTION="C++ library for netCDF"
+HOMEPAGE="http://www.unidata.ucar.edu/software/netcdf/"
+SRC_URI="https://www.unidata.ucar.edu/downloads/netcdf/ftp/${P}.tar.gz"
+
+LICENSE="UCAR-Unidata"
+SLOT="3"
+KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux"
+IUSE="examples static-libs"
+
+RDEPEND=">=sci-libs/netcdf-4.2"
+DEPEND="${RDEPEND}"
+
+src_install() {
+ autotools-utils_src_install
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+}
diff --git a/sci-libs/netcdf-cxx/netcdf-cxx-4.2.1-r1.ebuild b/sci-libs/netcdf-cxx/netcdf-cxx-4.2.1-r1.ebuild
new file mode 100644
index 000000000000..5d0ad2c8c24f
--- /dev/null
+++ b/sci-libs/netcdf-cxx/netcdf-cxx-4.2.1-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2016 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}"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-4.2-config.patch"
+)
+
+src_configure() {
+ econf $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ use examples && dodoc -r examples
+ prune_libtool_files
+}
diff --git a/sci-libs/netcdf-cxx/netcdf-cxx-4.2.1.ebuild b/sci-libs/netcdf-cxx/netcdf-cxx-4.2.1.ebuild
new file mode 100644
index 000000000000..0cff763395d2
--- /dev/null
+++ b/sci-libs/netcdf-cxx/netcdf-cxx-4.2.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools-utils
+
+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:="
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${MYP}"
+
+PATCHES=( "${FILESDIR}"/${PN}-4.2-config.patch )
+
+src_install() {
+ autotools-utils_src_install
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+}
+
+src_test() {
+ autotools-utils_src_test -j1
+}