ncview-2.1.7.ebuild 690 B

123456789101112131415161718192021222324252627282930313233343536
  1. # Copyright 1999-2016 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. inherit eutils
  5. DESCRIPTION="X-based viewer for netCDF files"
  6. HOMEPAGE="http://meteora.ucsd.edu/~pierce/ncview_home_page.html"
  7. SRC_URI="ftp://cirrus.ucsd.edu/pub/ncview/${P}.tar.gz"
  8. LICENSE="GPL-2"
  9. SLOT="0"
  10. IUSE=""
  11. KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
  12. RDEPEND="media-libs/libpng:0=
  13. >=sci-libs/netcdf-4.1[hdf5]
  14. x11-libs/libXaw
  15. sci-libs/udunits"
  16. DEPEND="${RDEPEND}"
  17. src_install() {
  18. default
  19. doman data/${PN}.1
  20. insinto /usr/share/X11/app-defaults
  21. newins Ncview-appdefaults Ncview
  22. insinto /usr/share/${PN}
  23. doins *.ncmap
  24. make_desktop_entry ${PN}
  25. }