vamos-0.7.1.ebuild 887 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # Copyright 1999-2014 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. inherit eutils
  5. DESCRIPTION="an automotive simulation framework"
  6. HOMEPAGE="http://vamos.sourceforge.net/"
  7. SRC_URI="mirror://sourceforge/vamos/${P}.tar.gz"
  8. LICENSE="GPL-2"
  9. SLOT="0"
  10. KEYWORDS="amd64 x86"
  11. IUSE="static-libs"
  12. RDEPEND="virtual/opengl
  13. virtual/glu
  14. media-libs/freeglut
  15. media-libs/libpng:0
  16. media-libs/libsdl[joystick,video]
  17. media-libs/openal
  18. dev-libs/boost
  19. media-libs/freealut"
  20. DEPEND="${RDEPEND}
  21. virtual/pkgconfig"
  22. src_prepare() {
  23. epatch \
  24. "${FILESDIR}"/${P}-as-needed.patch \
  25. "${FILESDIR}"/${P}-gcc46.patch
  26. }
  27. src_configure() {
  28. econf \
  29. --disable-unit-tests \
  30. $(use_enable static-libs static)
  31. }
  32. src_install() {
  33. default
  34. dobin caelum/.libs/caelum
  35. newdoc caelum/README README.caelum
  36. dodoc AUTHORS ChangeLog README TODO
  37. prune_libtool_files
  38. }