summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2016-01-23 21:04:50 +0100
committerDavid Seifert <soap@gentoo.org>2016-01-23 21:05:15 +0100
commit0513f4a6ef96b4b7c73d8504740d091ddb84cc75 (patch)
treebf646973487d14273394d4be366ef9c0a0469095 /sci-libs/netcdf-fortran
parentsci-libs/netcdf-cxx: Add USE=hdf5 dependency on sci-libs/netcdf (diff)
downloadgentoo-0513f4a6ef96b4b7c73d8504740d091ddb84cc75.tar.gz
gentoo-0513f4a6ef96b4b7c73d8504740d091ddb84cc75.tar.bz2
gentoo-0513f4a6ef96b4b7c73d8504740d091ddb84cc75.zip
sci-libs/netcdf-fortran: Version bump to 4.4.3
* EAPI=6 * Remove usage of 'autotools-utils' Package-Manager: portage-2.2.27
Diffstat (limited to 'sci-libs/netcdf-fortran')
-rw-r--r--sci-libs/netcdf-fortran/Manifest1
-rw-r--r--sci-libs/netcdf-fortran/netcdf-fortran-4.4.3.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/sci-libs/netcdf-fortran/Manifest b/sci-libs/netcdf-fortran/Manifest
index c9285d5daea5..1d5f05ff3c1e 100644
--- a/sci-libs/netcdf-fortran/Manifest
+++ b/sci-libs/netcdf-fortran/Manifest
@@ -1,2 +1,3 @@
DIST netcdf-fortran-4.2.tar.gz 2479928 SHA256 069e1a0fb50972f28309210987a51563369a6ddb4ac768ef76e599354d384ae9 SHA512 af5d489df7b3ff5c3208115af4abdbf12d74d6bc0b9e3c729cfd24b55efafc3766de21c0f9957e037c25726637e9129a1f7009676e81d7e59650fec56d6e776e WHIRLPOOL 7fd0b2e0025b298a221521987132d389e6fc1bb285318d732b238ebcceedd721741f715848d63266c4a20189f4b0d211585af33e2efed2cac89dd893b07a2418
DIST netcdf-fortran-4.4.2.tar.gz 1246344 SHA256 f2264174074af0cf332b8dd09e4e184517a2d54f0ca5500e17691152c1ed73aa SHA512 c3f025c0f5a08a0141fa09f570c647fc63992f9fd707969b37c7b0590c3578172200e45ecee497ed054129366fd1c73e3cd069aba879015b13a143e77a181c0f WHIRLPOOL 119345cf7563c15e9d088fc734c3dcbe27c2f76a52ea4479fb771d652815e1cda38914368478f055d2b5d705e7b1779e0954b2f26bb54dab4a995b8c6ebace8a
+DIST netcdf-fortran-4.4.3.tar.gz 1286951 SHA256 4170fc018c9ee8222e317215c6a273542623185f5f6ee00d37bbb4e024e4e998 SHA512 94f51b4be889d6a9d6a86e3fcb2639ac58288969160d0f334ed6965e3c9cbacff7289b1fc54ed06e6ec8b845b19f5c409fbdcab432c8edf5c96efde887920924 WHIRLPOOL 941da12bc082ca75e33a1481aeb9992b16f3e95cf3f95bacc8ab1f56b95da7d9bb80d1f36b2a6d478f859d03bec5acec4a12ee13b218dc023ecdab5d0ecef788
diff --git a/sci-libs/netcdf-fortran/netcdf-fortran-4.4.3.ebuild b/sci-libs/netcdf-fortran/netcdf-fortran-4.4.3.ebuild
new file mode 100644
index 000000000000..5b6e55d51f04
--- /dev/null
+++ b/sci-libs/netcdf-fortran/netcdf-fortran-4.4.3.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+FORTRAN_STANDARD="77 90"
+
+inherit autotools eutils fortran-2
+
+DESCRIPTION="Scientific library and interface for array oriented data access"
+HOMEPAGE="http://www.unidata.ucar.edu/software/netcdf/"
+SRC_URI="https://github.com/Unidata/netcdf-fortran/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="UCAR-Unidata"
+SLOT="0/6"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="examples static-libs"
+
+RDEPEND="sci-libs/netcdf"
+DEPEND="${RDEPEND}
+ dev-lang/cfortran
+"
+
+src_prepare() {
+ # use system cfortran
+ rm libsrc/cfortran.h || die
+
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+ prune_libtool_files
+}