mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
Bug: https://bugs.gentoo.org/473598 Bug: https://bugs.gentoo.org/720224 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
44 lines
755 B
Bash
44 lines
755 B
Bash
# Copyright 1999-2022 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit autotools desktop
|
|
|
|
DESCRIPTION="X-based viewer for netCDF files"
|
|
HOMEPAGE="http://meteora.ucsd.edu/~pierce/ncview_home_page.html"
|
|
SRC_URI="ftp://cirrus.ucsd.edu/pub/ncview/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~ppc ~x86"
|
|
|
|
RDEPEND="
|
|
media-libs/libpng:0=
|
|
sci-libs/netcdf[hdf5]
|
|
sci-libs/udunits
|
|
x11-libs/libXaw
|
|
"
|
|
DEPEND="${RDEPEND}"
|
|
|
|
PATCHES=( "${FILESDIR}"/${P}-autotools.patch )
|
|
|
|
src_prepare() {
|
|
default
|
|
eautoreconf
|
|
}
|
|
|
|
src_install() {
|
|
default
|
|
|
|
doman data/ncview.1
|
|
|
|
insinto /usr/share/X11/app-defaults
|
|
newins Ncview-appdefaults Ncview
|
|
|
|
insinto /usr/share/ncview
|
|
doins *.ncmap
|
|
|
|
make_desktop_entry ncview
|
|
}
|