You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1.3 KiB
57 lines
1.3 KiB
13 years ago
|
# 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
|
||
|
}
|