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

Contents of /sci-libs/netcdf/netcdf-4.2.1.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon Dec 17 16:32:26 2012 UTC (5 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
Add ~ppc64, wrt bug #435904

(Portage version: 2.1.11.31/cvs/Linux ppc64, unsigned Manifest commit)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-libs/netcdf/netcdf-4.2.1.1.ebuild,v 1.2 2012/10/16 20:31:51 jlec Exp $
4
5 EAPI=4
6
7 inherit autotools-utils
8
9 DESCRIPTION="Scientific library and interface for array oriented data access"
10 HOMEPAGE="http://www.unidata.ucar.edu/software/netcdf/"
11 SRC_URI="ftp://ftp.unidata.ucar.edu/pub/netcdf/${P}.tar.gz"
12
13 LICENSE="UCAR-Unidata"
14 SLOT="0"
15 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
16 IUSE="+dap doc examples hdf +hdf5 mpi static-libs szip test tools"
17
18 RDEPEND="
19 dap? ( net-misc/curl )
20 hdf? ( sci-libs/hdf >=sci-libs/hdf5-1.8.8 )
21 hdf5? ( >=sci-libs/hdf5-1.8.8[mpi=,szip=,zlib] )"
22
23 DEPEND="${RDEPEND}
24 doc? ( app-doc/doxygen )"
25
26 REQUIRED_USE="test? ( tools )"
27
28 src_configure() {
29 myeconfargs=(
30 --docdir="${EPREFIX}"/usr/share/doc/${PF}
31 --disable-examples
32 $(use_enable dap)
33 $(use_enable doc doxygen)
34 $(use_enable hdf hdf4)
35 $(use_enable hdf5 netcdf-4)
36 $(use_enable tools utilities)
37 )
38 autotools-utils_src_configure
39 }
40
41 src_install() {
42 autotools-utils_src_install
43 if use examples; then
44 insinto /usr/share/doc/${PF}
45 doins -r examples
46 fi
47 }

  ViewVC Help
Powered by ViewVC 1.1.13