blob: f8f7c71c5c88bd02fb0c93bbc70dff26f48f342b (
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
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# 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-r1.ebuild,v 1.1 2010/08/24 17:54:56 xarthisius Exp $
EAPI="2"
inherit autotools base virtualx
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[networking,regex]
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
"${FILESDIR}"/${PV}-glibc-2.12.patch #333843
)
src_prepare() {
base_src_prepare
# bug 333843
mv src/endian.h src/bo_endian.h || die
mv src/endian.c src/bo_endian.c || die
eautoreconf
}
src_test () {
Xemake check || die
}
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
}
|