diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2007-08-20 12:11:31 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2007-08-20 12:11:31 +0000 |
commit | d63d228c690a99f38e5d8a564e2c165b616ae4bc (patch) | |
tree | 749f58fee0835be2899d4d5c896b7576997964f4 /sci-misc | |
parent | remove some unnecessary versions (diff) | |
download | gentoo-2-d63d228c690a99f38e5d8a564e2c165b616ae4bc.tar.gz gentoo-2-d63d228c690a99f38e5d8a564e2c165b616ae4bc.tar.bz2 gentoo-2-d63d228c690a99f38e5d8a564e2c165b616ae4bc.zip |
Version bump.
(Portage version: 2.1.2.11)
Diffstat (limited to 'sci-misc')
-rw-r--r-- | sci-misc/nco/ChangeLog | 7 | ||||
-rw-r--r-- | sci-misc/nco/files/digest-nco-3.9.1 | 3 | ||||
-rw-r--r-- | sci-misc/nco/nco-3.9.1.ebuild | 63 |
3 files changed, 72 insertions, 1 deletions
diff --git a/sci-misc/nco/ChangeLog b/sci-misc/nco/ChangeLog index b6920abdca09..2cfaa5eaab3b 100644 --- a/sci-misc/nco/ChangeLog +++ b/sci-misc/nco/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-misc/nco # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-misc/nco/ChangeLog,v 1.8 2007/04/29 18:42:15 tove Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-misc/nco/ChangeLog,v 1.9 2007/08/20 12:11:31 bicatali Exp $ + +*nco-3.9.1 (20 Aug 2007) + + 20 Aug 2007; Sébastien Fabbro <bicatali@gentoo.org> +nco-3.9.1.ebuild: + Version bump. 29 Apr 2007; Torsten Veller <tove@gentoo.org> nco-3.2.0.ebuild: Fixed typo: s/udnunits/udunits/ (#176410 reported by Jakub Moc) diff --git a/sci-misc/nco/files/digest-nco-3.9.1 b/sci-misc/nco/files/digest-nco-3.9.1 new file mode 100644 index 000000000000..f4f8380f2c78 --- /dev/null +++ b/sci-misc/nco/files/digest-nco-3.9.1 @@ -0,0 +1,3 @@ +MD5 9c7c77779f75818b53cda44090c92950 nco-3.9.1.tar.gz 3352943 +RMD160 9fdcbd00e2948e368744f3ef0ef2f6a26b41439b nco-3.9.1.tar.gz 3352943 +SHA256 85859874531c57f322c427ff097b855490060707d8ae1b27af2dab5831fd041c nco-3.9.1.tar.gz 3352943 diff --git a/sci-misc/nco/nco-3.9.1.ebuild b/sci-misc/nco/nco-3.9.1.ebuild new file mode 100644 index 000000000000..44b6f7645af7 --- /dev/null +++ b/sci-misc/nco/nco-3.9.1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-misc/nco/nco-3.9.1.ebuild,v 1.1 2007/08/20 12:11:31 bicatali Exp $ + +DESCRIPTION="Command line utilities for operating on netCDF files" +SRC_URI="http://dust.ess.uci.edu/nco/src/${P}.tar.gz" +HOMEPAGE="http://nco.sourceforge.net/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~ppc" + +IUSE="mpi doc ncap2 udunits" + +RDEPEND="sci-libs/netcdf + mpi? ( virtual/mpi ) + udunits? ( sci-libs/udunits )" + +DEPEND="${RDEPEND} + ncap2? ( !mpi? ( dev-java/antlr ) ) + doc? ( virtual/tetex )" + +pkg_setup() { + if use mpi && use ncap2; then + elog + elog "mpi and ncap2 are still incompatible flags" + elog "nco configure will automatically disables ncap2" + elog + fi +} + +src_compile() { + # force disabling experimental and not implemented features + econf \ + --disable-dap \ + --disable-netcdf4 \ + --disable-i18n \ + --enable-regex \ + --enable-nco_cplusplus \ + $(use_enable ncap2 ncoxx) \ + $(use_enable udunits) \ + $(use_enable mpi) \ + || die "econf failed" + emake || die "emake failed" + cd "${S}"/doc + make clean info + if use doc; then + make html pdf || die "make doc failed" + fi +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + cd doc + dodoc ANNOUNCE ChangeLog MANIFEST NEWS README TAG TODO VERSION *.txt \ + || die "dodoc failed" + doinfo *.info* || die "doinfo failed" + if use doc; then + dohtml nco.html/* + insinto /usr/share/doc/${PF} + doins nco.pdf + fi +} |