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