/[gentoo-x86]/sci-libs/netcdf-fortran/netcdf-fortran-4.2.ebuild
Gentoo

Contents of /sci-libs/netcdf-fortran/netcdf-fortran-4.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Sat Jun 21 22:55:59 2014 UTC (6 years, 5 months ago) by jauhien
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +4 -3 lines
fix dependencies: add sci-libs/netcdf-cxx wrt bug #514252, thanks to Patrick Lauer

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB2EFA1D4)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI=5
6
7 FORTRAN_STANDARD="77 90"
8 AUTOTOOLS_IN_SOURCE_BUILD=1
9
10 inherit autotools-utils fortran-2
11
12 DESCRIPTION="Scientific library and interface for array oriented data access"
13 HOMEPAGE="http://www.unidata.ucar.edu/software/netcdf/"
14 SRC_URI="ftp://ftp.unidata.ucar.edu/pub/netcdf/${P}.tar.gz"
15
16 LICENSE="UCAR-Unidata"
17 SLOT="0/5"
18 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
19 IUSE="doc examples static-libs"
20
21 RDEPEND="sci-libs/netcdf"
22 DEPEND="${RDEPEND}
23 dev-lang/cfortran
24 "
25
26 src_prepare() {
27 # use system cfortran
28 rm fortran/cfortran.h || die
29 autotools-utils_src_prepare
30 }
31
32 src_install() {
33 autotools-utils_src_install
34 if use examples; then
35 insinto /usr/share/doc/${PF}
36 doins -r examples
37 fi
38 }

  ViewVC Help
Powered by ViewVC 1.1.20