blob: 2d8f4c79582ed9abece3709c44c84ae0ac885c47 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/burrow-owl/burrow-owl-1.4.ebuild,v 1.1 2010/06/24 11:39:36 jlec Exp $
EAPI="2"
inherit base
DESCRIPTION="Visualize multidimensional nuclear magnetic resonance (NMR) spectra"
HOMEPAGE="http://burrow-owl.sourceforge.net/"
SRC_URI="examples? ( mirror://sourceforge/${PN}/burrow-demos.tar )
mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples"
RDEPEND="
dev-scheme/guile-gnome-platform
>=dev-scheme/guile-cairo-1.4
>=sci-libs/starparse-1.0
x11-libs/gtk+:2"
DEPEND="${RDEPEND}
dev-util/indent
dev-util/pkgconfig"
PATCHES=(
"${FILESDIR}"/${PV}-include.patch
)
src_install() {
base_src_install
if use examples; then
pushd "${WORKDIR}"/burrow-demos
docinto demonstration
dodoc * || die "dodoc demo failed"
cd data
docinto demonstration/data
dodoc * || die "dodoc data failed"
popd
fi
}
|