sci-misc/nco: Remove old

Package-Manager: Portage-2.3.19, Repoman-2.3.6
This commit is contained in:
David Seifert
2018-01-01 23:40:47 +01:00
parent 906d6a3933
commit e72e45e4d3
2 changed files with 0 additions and 71 deletions

View File

@@ -1,2 +1 @@
DIST nco-3.9.9.tar.gz 4109201 BLAKE2B 1249963c2f884326811502b01d02b2ef9c19c4bd0e6e61ddd823661a43e53a895f16f2870d00c02f732a44d7f93b0b4794efe591c95ed4fca1bc168ac13ecb9c SHA512 883d77413aed29982df3be531c458bbbc8c46201783593a71745b993287356aec4c664a080f05da1f2d550d32d2553d55eff7372807d20b4e6dba7bdff282400
DIST nco-4.5.1.tar.gz 4406757 BLAKE2B f2e203f1c38f5575fe4affb9122c91c61db8a2c2604cbcf9cd1eec6330e4771b8ff4325fcc19cfa292508e9b7a3107ae20e6230397f1269441e4efb883f8e4e9 SHA512 69c19cc9502272adada329dae669fc1c263a360789963253315e81ce1534647b9172b39a0fd3c0f0f453bf903c8a8a4b0e3f0eb778390e43b64eede3a0478485

View File

@@ -1,70 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=2
inherit eutils flag-o-matic
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-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc mpi ncap2 udunits"
RDEPEND="sci-libs/netcdf
mpi? ( virtual/mpi )
udunits? ( >=sci-libs/udunits-2 )"
DEPEND="${RDEPEND}
ncap2? ( !mpi? ( dev-java/antlr:0 ) )
doc? ( virtual/latex-base )"
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_configure() {
local myconf
if has_version ">=sci-libs/netcdf-4" && built_with_use sci-libs/netcdf hdf5; then
append-cppflags -DHAVE_NETCDF4_H
myconf="--enable-netcdf4"
else
myconf="--disable-netcdf4"
fi
econf \
${myconf} \
--disable-udunits \
$(use_enable ncap2) \
$(use_enable udunits udunits2) \
$(use_enable mpi)
}
src_compile() {
emake || die "emake failed"
cd doc
emake clean info
if use doc; then
VARTEXFONTS="${T}/fonts" emake html pdf || die "emake 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/* || die "dohtml failed"
insinto /usr/share/doc/${PF}
doins nco.pdf || die "pdf install failed"
fi
}