diff options
author | Justin Lecher (jlec) <jlec@j-schmitz.net> | 2009-07-29 22:12:14 +0200 |
---|---|---|
committer | Justin Lecher (jlec) <jlec@j-schmitz.net> | 2009-07-30 20:04:45 +0200 |
commit | f36889fb17b1d8ecd9e6a4300c7fdf7b06de17dc (patch) | |
tree | 2e063ef6856409b28034e8eb71b1c6d926675d11 | |
parent | molrep bump to 10.2.33 (diff) | |
download | sci-f36889fb17b1d8ecd9e6a4300c7fdf7b06de17dc.tar.gz sci-f36889fb17b1d8ecd9e6a4300c7fdf7b06de17dc.tar.bz2 sci-f36889fb17b1d8ecd9e6a4300c7fdf7b06de17dc.zip |
version bump netcdf to 4.0.1
hdf5 support and any new features is not included yet
-rw-r--r-- | sci-libs/netcdf/ChangeLog | 291 | ||||
-rw-r--r-- | sci-libs/netcdf/Manifest | 5 | ||||
-rw-r--r-- | sci-libs/netcdf/files/netcdf-4.0.1-as-needed.patch | 43 | ||||
-rw-r--r-- | sci-libs/netcdf/metadata.xml | 13 | ||||
-rw-r--r-- | sci-libs/netcdf/netcdf-4.0.1.ebuild | 86 |
5 files changed, 438 insertions, 0 deletions
diff --git a/sci-libs/netcdf/ChangeLog b/sci-libs/netcdf/ChangeLog new file mode 100644 index 000000000..33b566c54 --- /dev/null +++ b/sci-libs/netcdf/ChangeLog @@ -0,0 +1,291 @@ +# ChangeLog for sci-libs/netcdf +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/netcdf/ChangeLog,v 1.54 2009/02/17 15:55:14 bicatali Exp $ + +*netcdf-4.0.1 (29 Jul 2009) + + 29 Jul 2009; Justin Lecher (jlec) <jlec@j-schmitz.net> + +netcdf-4.0.1.ebuild, +files/netcdf-4.0.1-as-needed.patch, +metadata.xml: + version bump + hdf5 support and any new features is not included yet + + 17 Feb 2009; Sébastien Fabbro <bicatali@gentoo.org> metadata.xml, + netcdf-3.6.3.ebuild: + Added dependency on libtool >= 2.2, fixing bug #258976 + + 18 Jan 2009; Sébastien Fabbro <bicatali@gentoo.org> netcdf-3.6.3.ebuild: + Patch for parallel building not needed after all. + +*netcdf-3.6.3 (15 Jan 2009) + + 15 Jan 2009; Sébastien Fabbro <bicatali@gentoo.org> + +files/netcdf-3.6.3-as-needed.patch, +netcdf-3.6.3.ebuild: + Version bump + + 15 Jan 2009; Sébastien Fabbro <bicatali@gentoo.org> + files/netcdf-3.6.2-gcc43.patch, -netcdf-3.6.1.ebuild, + -netcdf-3.6.1-r1.ebuild: + Fixed some examples for gcc-4.3, thanks to anomen + + 13 Feb 2008; Raúl Porcel <armin76@gentoo.org> netcdf-3.6.2.ebuild: + alpha stable wrt #201477 + + 25 Jan 2008; Sébastien Fabbro <bicatali@gentoo.org> + +files/netcdf-3.6.2-gcc43.patch, netcdf-3.6.2.ebuild: + Applied patch for gcc-4.3, closing bug #207346 + + 13 Dec 2007; Raúl Porcel <armin76@gentoo.org> netcdf-3.6.2.ebuild: + ia64 stable wrt #201477 + + 11 Dec 2007; nixnut <nixnut@gentoo.org> netcdf-3.6.2.ebuild: + Stable on ppc wrt bug 201477 + + 10 Dec 2007; Ferris McCormick <fmccor@gentoo.org> netcdf-3.6.2.ebuild: + Sparc stable --- Bug #201477 --- all tests good (gfortran). + + 10 Dec 2007; Jeroen Roovers <jer@gentoo.org> netcdf-3.6.2.ebuild: + Stable for HPPA (bug #201477). + + 07 Dec 2007; Markus Rothe <corsair@gentoo.org> netcdf-3.6.2.ebuild: + Stable on ppc64; bug #201477 + + 07 Dec 2007; Christian Faulhammer <opfer@gentoo.org> netcdf-3.6.2.ebuild: + stable x86, bug 201477 + + 06 Dec 2007; Samuli Suominen <drac@gentoo.org> netcdf-3.6.2.ebuild: + amd64 stable wrt #201477 + + 06 Dec 2007; Sébastien Fabbro <bicatali@gentoo.org> + +files/netcdf-3.6.2-as-needed.patch, netcdf-3.6.2.ebuild: + Fixed for as-needed, closing bug #201493 + + 15 Oct 2007; Markus Rothe <corsair@gentoo.org> netcdf-3.6.1-r1.ebuild: + Stable on ppc64 + + 29 Sep 2007; Sébastien Fabbro <bicatali@gentoo.org> + files/netcdf-3.6.2-parallel-make.patch: + fixed again the paralell make patch + + 28 Sep 2007; Sébastien Fabbro <bicatali@gentoo.org> + files/netcdf-3.6.2-parallel-make.patch, netcdf-3.6.2.ebuild: + Fixes parallell make with -j2 (real this time), uses FFLAGS for fortran 90 + and do not remove .la files. + + 05 Aug 2007; Sébastien Fabbro <bicatali@gentoo.org> + +files/netcdf-3.6.2-parallel-make.patch, -files/gcc3-gentoo.patch, + -netcdf-3.5.0-r3.ebuild, -netcdf-3.6.0-r1.ebuild, netcdf-3.6.2.ebuild: + Fixed parallel-make for fortran. Closing bug #187759, thanks to Ed Catmur + <ed@catmur.co.uk>. Removed obsolete versions. + + 31 Jul 2007; Steve Arnold <nerdboy@gentoo.org> netcdf-3.6.2.ebuild: + Added FFLAGS fix for build failure on amd64 (real size mis-match). AFAIK + this is a gfortran F90 thing; needs testing with other F90 compilers. + + 27 Apr 2007; Sébastien Fabbro <bicatali@gentoo.org> netcdf-3.6.2.ebuild: + Removed blocking of hdf-4, thanks to Erik Zeek <zeekec@mad.scientist.com>. + Fixed cppflags for non-debugging. Closing bug #176184. + + 27 Apr 2007; Jeroen Roovers <jer@gentoo.org> netcdf-3.6.1-r1.ebuild: + Stable for HPPA. + +*netcdf-3.6.2 (24 Apr 2007) + + 24 Apr 2007; Sébastien Fabbro <bicatali@gentoo.org> metadata.xml, + +netcdf-3.6.2.ebuild: + Version bump, with better autotools handling and install. Adapted the ebuild + to match the structure. Extended the longdescription in metadata.xml. + +*netcdf-3.6.1-r1 (22 Oct 2006) + + 22 Oct 2006; Markus Dittrich <markusle@gentoo.org> +files/fPIC.1.patch, + +netcdf-3.6.1-r1.ebuild: + Extended fPIC patch to C++ wrappers; otherwise packages that use + the netcdf library to generate shared objects create text + relocations (e.g. media-gfx/kst). + + 08 Sep 2006; Thomas Cort <tcort@gentoo.org> netcdf-3.6.1.ebuild: + Stable on alpha wrt Bug #82431. + + 22 Aug 2006; Stephen P. Becker <geoman@gentoo.org> netcdf-3.6.1.ebuild: + stable on mips, bug 82431 + + 13 Aug 2006; Steve Arnold <nerdboy@gentoo.org> netcdf-3.6.1.ebuild: + Simplified fortran handling in pkg_setup (see bug 82431) to let the + eclass do the work (and hopefully handle the ifc/ifort thing correctly). + + 06 Aug 2006; Jason Wever <weeve@gentoo.org> netcdf-3.6.1.ebuild: + Stable on SPARC wrt bug #82431. + + 01 Aug 2006; Simon Stelling <blubb@gentoo.org> netcdf-3.6.1.ebuild: + stable on amd64 + + 13 Jul 2006; Steve Arnold <nerdboy@gentoo.org> netcdf-3.6.1.ebuild: + updated fortran support and man page handling (see bug #82431) + + 12 Jul 2006; Aron Griffis <agriffis@gentoo.org> netcdf-3.6.1.ebuild: + Mark 3.6.1 stable on ia64. #82431 + + 10 Jul 2006; Jeroen Roovers <jer@gentoo.org> netcdf-3.6.1.ebuild: + Stable for HPPA (bug #82431). + + 05 Jul 2006; Joshua Jackson <tsunam@gentoo.org> netcdf-3.6.1.ebuild: + Stable x86; bug #82431 + + 01 Jul 2006; Lars Weiler <pylon@gentoo.org> netcdf-3.6.1.ebuild: + Stable on ppc; bug #82431. + + 01 Jul 2006; Markus Rothe <corsair@gentoo.org> netcdf-3.6.1.ebuild: + Stable on ppc64; bug #82431 + + 01 Jul 2006; Steve Arnold <nerdboy@gentoo.org> netcdf-3.6.1.ebuild: + Updated fortran support logic and added src_test (bugs 133519 and 136182). + This should hopefully take care of both bugs and should detect at least GNU + fortran (g77 and gfortran) and PGI fortran... + + 25 May 2006; Steve Arnold <nerdboy@gentoo.org> netcdf-3.6.1.ebuild: + update fortran handling (bug 133519) + + 07 May 2006; Markus Rothe <corsair@gentoo.org> netcdf-3.6.0-r1.ebuild: + Stable on ppc64; bug #98597 + + 07 Apr 2006; Markus Dittrich <markusle@gentoo.org> +netcdf-3.6.1.ebuild: + Version bump. Thanks much to Jordan Dawe <freedryk@hotmail.com> + for his ebuild. This fixes bug #128936. + + 28 Aug 2005; Marcus D. Hanwell <cryos@gentoo.org> -netcdf-3.5.0-r4.ebuild, + -netcdf-3.5.1.ebuild: + Removing old versions no longer needed. + + 25 Aug 2005; Aron Griffis <agriffis@gentoo.org> netcdf-3.6.0-r1.ebuild: + stable on ia64 #82431 + + 11 Jul 2005; Markus Rothe <corsair@gentoo.org> netcdf-3.6.0-r1.ebuild: + added ~ppc64 (bug #98597) + + 18 Jun 2005; Michael Hanselmann <hansmi@gentoo.org> + netcdf-3.6.0-r1.ebuild: + Stable on ppc. + + 12 Jun 2005; Bryan Østergaard <kloeri@gentoo.org> netcdf-3.6.0-r1.ebuild: + Stable on alpha. + + 09 Jun 2005; Rene Nussbaumer <killerfox@gentoo.org> + netcdf-3.6.0-r1.ebuild: + Stable on hppa; bug #82431. + + 29 May 2005; Marcus D. Hanwell <cryos@gentoo.org> netcdf-3.6.0-r1.ebuild: + Stable on amd64, bug 82431. + + 29 May 2005; Steve Arnold <nerdboy@gentoo.org> netcdf-3.6.0-r1.ebuild: + works fine on x86 and sparc (stable bump) + + 20 Apr 2005; Michael Hanselmann <hansmi@gentoo.org> netcdf-3.5.1.ebuild: + Stable on ppc. + + 01 Apr 2005; Aron Griffis <agriffis@gentoo.org> netcdf-3.5.1.ebuild: + stable on ia64 + +*netcdf-3.6.0-r1 (17 Feb 2005) + + 17 Feb 2005; Steve Arnold <nerdboy@gentoo.org> netcdf-3.5.0-r3.ebuild, + netcdf-3.5.0-r4.ebuild, netcdf-3.5.1.ebuild, +netcdf-3.6.0-r1.ebuild, + -netcdf-3.6.0.ebuild: + There was a semi-silent upstream fix for a large file bug, plus some + package-naming insanity, as well as movage of older source. This fixes + everything by forcing an upgrade for the upstream bugfix, ie, a + preemptive strike, as well as the older 3.5.x path fixes. Whew... + +*netcdf-3.6.0 (07 Feb 2005) + + 07 Feb 2005; Marcus D. Hanwell <cryos@gentoo.org> netcdf-3.5.1.ebuild, + +netcdf-3.6.0.ebuild: + Marked 3.5.1 stable on amd64. Version bump, closes bug 77719. + + 29 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> : + Change encoding to UTF-8 for GLEP 31 compliance + +*netcdf-3.5.0-r3 (28 Dec 2004) + + 28 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml, + +files/fPIC.patch, +files/gcc3-gentoo.patch, +netcdf-3.5.0-r3.ebuild, + +netcdf-3.5.0-r4.ebuild, +netcdf-3.5.1.ebuild: + Moved from app-sci/netcdf to sci-libs/netcdf. + + 11 Dec 2004; Bryan Østergaard <kloeri@gentoo.org> netcdf-3.5.1.ebuild: + Stable on alpha. + + 07 Nov 2004; Jason Wever <weeve@gentoo.org> netcdf-3.5.1.ebuild: + Stable on sparc. + + 31 May 2004; Bryan Østergaard <kloeri@gentoo.org> netcdf-3.5.0-r4.ebuild: + Stable on alpha. + +*netcdf-3.5.1 (11 May 2004) + + 11 May 2004; Steve Arnold <nerdboy@gentoo.org> netcdf-3.5.1.ebuild: + updated 3.5.1 ebuild, all gcc and C++ changes have been added upstream + + 26 Apr 2004; Aron Griffis <agriffis@gentoo.org> netcdf-3.5.0-r3.ebuild, + netcdf-3.5.0-r4.ebuild: + Add die following econf for bug 48950 + +*netcdf-3.5.0-r4 (20 Apr 2004) + + 20 Apr 2004; Patrick Kursawe <phosphan@gentoo.org> netcdf-3.5.0-r4.ebuild, + files/fPIC.patch: + Adding -fPIC patch, see bug #47517 + + 01 Apr 2004; Patrick Kursawe <phosphan@gentoo.org> netcdf-3.5.0-r3.ebuild: + Declaring stable for all arches. + + 26 Mar 2004; Patrick Kursawe <phosphan@gentoo.org> netcdf-3.5.0-r2.ebuild, + netcdf-3.5.0-r3.ebuild: + Adding IUSE and inherit eutils + + 03 Mar 2004; Patrick Kursawe <phosphan@gentoo.org> netcdf-3.5.0-r3.ebuild: + Some arches were missing in -r3 that were added to -r2, assume it was a + mistake. + + 17 Feb 2004; Aron Griffis <agriffis@gentoo.org> netcdf-3.5.0-r3.ebuild: + stable on alpha and ia64 for the sake of dev-python/ScientificPython + + 12 Jan 2004; <nerdboy@gentoo.org> netcdf-3.5.0-r3.ebuild, + netcdf-3.5.0-r2.ebuild, metadata.xml: + bumped r3 to x86 and added (belated) changelog entry for #32570 and #32575 + fixes; also corrected license, updated metadata, and added additional arches + + 18 Dec 2003; Martin Holzer <mholzer@gentoo.org> netcdf-3.5.0-r2.ebuild, + netcdf-3.5.0-r3.ebuild: + fixing typo in homepage. closes #36018 + +*netcdf-3.5.0-r3 (16 Dec 2003) + + 16 Dec 2003; Jason Wever <weeve@gentoo.org> netcdf-3.5.0-r3.ebuild: + Added ~sparc keyword to fix broken dev-python/ScientificPython dependencies. + + 11 Nov 2003; Steve Arnold <nerdboy@gentoo.org> netcdf-3.5.0-r3.ebuild: + fixed bugs 32570 and 32575 (but somehow the changelog got messed up) + +*netcdf-3.5.0-r2 (1 Feb 2002) + + 18 Nov 2002; Matthew Kennedy <mkennedy@gentoo.org> + netcdf-3.5.0-r2.ebuild, files/digest-netcdf-3.5.0-r2, + files/gcc3-gentoo.patch : + + C++ fixing for compatibility for GCC3.2 and ANSI C++. Patch thanks to + Sam Yates <sam@quux.dropbear.id.au> of bug #5784 fame. + +*netcdf-3.5.0-r1 (1 Feb 2002) + + 14 Sep 2002; Seemant Kulleen <seemant@gentoo.org> netcdf-3.5.0-r1.ebuild : + + emake->make thanks to Chad Netzer (chad.netzer@stanfordalumni.org) in bug + #6363 reported by: martin.holzer@wienerlinien.at (Martin Holzer) + + 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog : + + Added initial ChangeLog which should be updated whenever the package is + updated in any way. This changelog is targetted to users. This means that the + comments should well explained and written in clean English. The details about + writing correct changelogs are explained in the skel.ChangeLog file which you + can find in the root directory of the portage repository. diff --git a/sci-libs/netcdf/Manifest b/sci-libs/netcdf/Manifest new file mode 100644 index 000000000..261666caf --- /dev/null +++ b/sci-libs/netcdf/Manifest @@ -0,0 +1,5 @@ +AUX netcdf-4.0.1-as-needed.patch 1794 RMD160 4b81004e09b1d620ad6fe3450ed3906f214cfa32 SHA1 f3c3809227674cdcdd0ec0ea3236c68cda8e9bf7 SHA256 4bd124aac6f9b3aeedf91b89e713cb1dd035423361ef609e784b17b4b08be645 +DIST netcdf-4.0.1.tar.gz 8018998 RMD160 ba74363bbc4c76fc1bbac578ba4c2af4739b4958 SHA1 96b361de72bcf68eaba42e7e5cf0f92c33d288e9 SHA256 290e377aa2e9419bb50a2fa1038d6e77d36f239a8a9c3be9e3a9319f1e484d19 +EBUILD netcdf-4.0.1.ebuild 2289 RMD160 4938b0de739e56d4eb441f1a9ed90aaf24e9f74f SHA1 846d2ba76589b747b34ea5e69a621d946a9c47a8 SHA256 86030f95c901461126811697b869dba3291fdb7c68e4f7994d3a50abb881f45c +MISC ChangeLog 11152 RMD160 3cb231852cf71828b6b61f11da16bc349e2117ab SHA1 f3768d8150a39f1d44bab85677d5ebc2f90fd81a SHA256 131116f8e1a766a5c11b0e90d1a08d6a5b8a12edc8eea3bb992dbf1e23e63dfd +MISC metadata.xml 587 RMD160 7d0bee0490ff72907209deedcde696a7fc9c0ff0 SHA1 8db6642b93db40662ed494734ba8932cef3d00fd SHA256 a39e1699cc5a7d344bc90f12a2a89330f82b1d2bf05ea1f295cd8d428950f42c diff --git a/sci-libs/netcdf/files/netcdf-4.0.1-as-needed.patch b/sci-libs/netcdf/files/netcdf-4.0.1-as-needed.patch new file mode 100644 index 000000000..944600824 --- /dev/null +++ b/sci-libs/netcdf/files/netcdf-4.0.1-as-needed.patch @@ -0,0 +1,43 @@ +diff -Nur netcdf-3.6.3.orig/cxx/Makefile.am netcdf-3.6.3/cxx/Makefile.am +--- netcdf-3.6.3.orig/cxx/Makefile.am 2008-04-04 18:05:25.000000000 +0100 ++++ netcdf-3.6.3/cxx/Makefile.am 2009-01-15 14:46:15.895277408 +0000 +@@ -105,6 +105,6 @@ + + # Library source. + libnetcdf_c___la_SOURCES = netcdf.cpp ncvalues.cpp +- ++libnetcdf_c___la_LIBADD = $(top_builddir)/libsrc/libnetcdf.la + test: check + +diff -Nur netcdf-3.6.3.orig/fortran/Makefile.am netcdf-3.6.3/fortran/Makefile.am +--- netcdf-3.6.3.orig/fortran/Makefile.am 2008-04-22 22:52:04.000000000 +0100 ++++ netcdf-3.6.3/fortran/Makefile.am 2009-01-15 14:47:03.426443772 +0000 +@@ -60,6 +60,7 @@ + # (it's generated by the configure script from nfconfig.in), or if + # netcdf.inc has changed. + libnetcdff_la_DEPENDENCIES = nfconfig.inc netcdf.inc ++libnetcdff_la_LIBADD = $(top_builddir)/libsrc/libnetcdf.la + + # Is the user building netCDF-4? + if USE_NETCDF4 +@@ -92,7 +93,7 @@ + + # If F90 is built, include it's convenience library. + if BUILD_F90 +-libnetcdff_la_LIBADD = ../f90/libnetcdff90.la ++libnetcdff_la_LIBADD += ../f90/libnetcdff90.la + endif + + # If we are building the dll (under MinGW) then set the correct flags. +diff -Nur netcdf-3.6.3.orig/Makefile.am netcdf-3.6.3/Makefile.am +--- netcdf-3.6.3.orig/Makefile.am 2008-06-27 14:15:13.000000000 +0100 ++++ netcdf-3.6.3/Makefile.am 2009-01-15 14:48:04.594871206 +0000 +@@ -88,7 +88,7 @@ + # $(DAPDIR) $(NCDAPDIR) $(LIBSRC4_DIR) \ + # $(V2_TEST) $(NCGEN) $(NCDUMP) $(F77_TEST) ${CXX_DIR} $(CXX4) \ + # $(NC_TEST_DIR) $(NC_TEST4) $(MAN) $(EXAMPLES) win32 +-SUBDIRS = $(F90_DIR) $(F77_DIR) $(LIBSRC_DIR) $(LIBSRC4_DIR) \ ++SUBDIRS = $(LIBSRC_DIR) $(F90_DIR) $(F77_DIR) $(LIBSRC4_DIR) \ + $(V2_TEST) $(NCGEN) $(NCDUMP) $(F77_TEST) ${CXX_DIR} $(CXX4) \ + $(NC_TEST_DIR) $(NC_TEST4) $(MAN) $(EXAMPLES) win32 + diff --git a/sci-libs/netcdf/metadata.xml b/sci-libs/netcdf/metadata.xml new file mode 100644 index 000000000..d1109f322 --- /dev/null +++ b/sci-libs/netcdf/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +<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. +</longdescription> +</pkgmetadata> diff --git a/sci-libs/netcdf/netcdf-4.0.1.ebuild b/sci-libs/netcdf/netcdf-4.0.1.ebuild new file mode 100644 index 000000000..b499c4481 --- /dev/null +++ b/sci-libs/netcdf/netcdf-4.0.1.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/netcdf/netcdf-3.6.3.ebuild,v 1.3 2009/02/17 15:55:14 bicatali Exp $ + +EAPI=2 + +inherit fortran eutils toolchain-funcs flag-o-matic autotools + +DESCRIPTION="Scientific library and interface for array oriented data access" +SRC_URI="ftp://ftp.unidata.ucar.edu/pub/netcdf/${P}.tar.gz" +HOMEPAGE="http://www.unidata.ucar.edu/software/netcdf/" + +LICENSE="UCAR-Unidata" +SLOT="0" +IUSE="fortran debug doc" +KEYWORDS="~amd64 ~x86" + +RDEPEND="" +DEPEND="${RDEPEND} + >=sys-devel/libtool-2.2 + doc? ( virtual/latex-base )" + +pkg_setup() { + if use fortran ; then + FORTRAN="gfortran ifc g77 pgf77 pgf90" + fortran_pkg_setup + fi +} + +src_prepare() { + #epatch "${FILESDIR}"/${P}-as-needed.patch + #epatch "${FILESDIR}"/${P}-libtool.patch + eautoreconf +} + +src_configure() { + use debug || append-cppflags -DNDEBUG + local myconf + if use fortran; then + case "${FORTRANC}" in + g77) + myconf="${myconf} --enable-f77 --disable-f90" + myconf="${myconf} F77=g77" + ;; + pgf77) + myconf="${myconf} --enable-f77 --disable-f90" + myconf="${myconf} F77=pgf77" + ;; + pgf90) + myconf="${myconf} --enable-f77 --enable-f90" + myconf="${myconf} FC=pgf90 F90=pgf90 F77=pgf90" + ;; + ifc|ifort) + myconf="${myconf} --enable-f77 --enable-f90" + myconf="${myconf} FC=ifort F90=ifort F77=ifort" + ;; + *) + myconf="${myconf} --enable-f77 --enable-f90" + myconf="${myconf} FC=gfortran F90=gfortran F77=gfortran" + export F90FLAGS="-i4 ${F90FLAGS}" + ;; + esac + # fortran 90 uses FCFLAGS + export FCFLAGS="${FFLAGS:--O2}" + else + myconf="${myconf} --disable-f77 --disable-f90" + fi + econf \ + --enable-shared \ + --docdir=/usr/share/doc/${PF} \ + $(use_enable debug flag-setting ) \ + $(use_enable doc docs-install) \ + ${myconf} +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + dodoc README RELEASE_NOTES VERSION || die "dodoc failed" + # keep only pdf,txt and html docs, info were already installed + if use doc; then + find "${D}usr/share/doc/${PF}" -name \*.ps -exec rm -f {} \; + find "${D}usr/share/doc/${PF}" -name \*.info -exec rm -f {} \; + find "${D}usr/share/doc/${PF}" -name \*.txt -exec ecompress {} \; + fi +} |