gfsview-20120706-r1.ebuild 749 B

123456789101112131415161718192021222324252627282930313233343536
  1. # Copyright 1999-2015 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. inherit autotools-utils toolchain-funcs
  5. MYP=${P/-20/-snapshot-}
  6. DESCRIPTION="Graphical viewer for Gerris simulation files"
  7. HOMEPAGE="http://gfs.sourceforge.net/"
  8. SRC_URI="http://gerris.dalembert.upmc.fr/gerris/tarballs/${MYP}.tar.gz"
  9. LICENSE="GPL-2"
  10. SLOT="0"
  11. KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
  12. IUSE="static-libs"
  13. RDEPEND="
  14. sci-libs/gerris
  15. media-libs/ftgl
  16. media-libs/mesa[osmesa]
  17. x11-libs/gtk+:2
  18. >=x11-libs/gtkglext-1.0.6
  19. x11-libs/startup-notification
  20. "
  21. DEPEND="${RDEPEND}
  22. virtual/pkgconfig"
  23. S="${WORKDIR}/${MYP}"
  24. src_prepare() {
  25. export LIBS="$($(tc-getPKG_CONFIG) --libs gl)"
  26. autotools-utils_src_prepare
  27. }