blob: 9ad3fb6b14f78592a1e771170fab5d2823bc9809 (
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
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="3"
inherit autotools eutils
DESCRIPTION="General-purpose software package for simulation virtually all kinds of solid-state NMR experiments"
HOMEPAGE="http://bionmr.chem.au.dk/bionmr/software/index.php"
SRC_URI="http://bionmr.chem.au.dk/download/${PN}/${PV}/${P}.tar.gz"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux"
LICENSE="GPL-2"
IUSE="threads gtk tk"
RDEPEND="
dev-libs/libf2c
virtual/blas
virtual/lapack
gtk? ( x11-libs/gtk+:1 )
tk? ( dev-lang/tk )"
DEPEND="${RDEPEND}"
src_prepare() {
rm -rf f2c missing
epatch "${FILESDIR}"/${PV}-gentoo.patch
eautoreconf
}
src_configure(){
# Broken
# $(use_enable threads parallel) \
econf \
--disable-parallel \
$(use_enable tk tklib) \
$(use_enable gtk simplot)
}
src_install() {
emake DESTDIR="${D}" install || die
dodoc vnmrtools/README.vnmrtools NEWS README TODO AUTHORS || die
}
|