burrow-owl-1.5.1.ebuild 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # Copyright 1999-2014 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. inherit autotools-utils virtualx
  5. DESCRIPTION="Visualize multidimensional nuclear magnetic resonance (NMR) spectra"
  6. HOMEPAGE="http://burrow-owl.sourceforge.net/"
  7. SRC_URI="
  8. mirror://sourceforge/${PN}/${P}.tar.gz
  9. examples? ( mirror://sourceforge/${PN}/burrow-demos.tar )"
  10. LICENSE="GPL-2"
  11. SLOT="0"
  12. KEYWORDS="~amd64 ~x86"
  13. IUSE="doc examples static-libs"
  14. RDEPEND="
  15. dev-libs/g-wrap
  16. dev-libs/glib:2
  17. dev-scheme/guile[networking,regex]
  18. dev-scheme/guile-cairo
  19. dev-scheme/guile-gnome-platform
  20. sci-libs/starparse
  21. x11-libs/gtk+:2"
  22. DEPEND="${RDEPEND}
  23. dev-util/indent
  24. virtual/pkgconfig
  25. doc? ( app-doc/doxygen )
  26. "
  27. src_configure() {
  28. local myeconfargs=(
  29. $(use_with doc doxygen doxygen)
  30. )
  31. autotools-utils_src_configure
  32. }
  33. src_test () {
  34. cd "${AUTOTOOLS_BUILD_DIR}" || die
  35. virtualmake -C test-suite check
  36. }
  37. src_install() {
  38. use doc && HTML_DOCS=( "${AUTOTOOLS_BUILD_DIR}/doc/api/html/." )
  39. autotools-utils_src_install
  40. use examples && \
  41. insinto /usr/share/${PN} && \
  42. doins -r "${WORKDIR}"/burrow-demos/*
  43. }