blob: c34f931aa5b192b022a6027b19133c7fdd982058 (
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
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
AUTOTOOLS_AUTORECONF=true
inherit autotools-utils
MY_PN="Numbat"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="new user-friendly method built for automatic dX-tensor determination"
HOMEPAGE="http://www.nmr.chem.uu.nl/~christophe/numbat.html"
SRC_URI="http://comp-bio.anu.edu.au/private/downloads/Numbat/${MY_P}.tar.gz"
SLOT="0"
LICENSE="GPL-3"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE=""
CDEPEND="
gnome-base/libglade:2.0
sci-libs/gsl
x11-libs/gtk+:2"
DEPEND="${CDEPEND}
virtual/pkgconfig"
RDEPEND="${CDEPEND}
sci-chemistry/molmol
sci-chemistry/pymol
sci-visualization/gnuplot"
S="${WORKDIR}"/${MY_P}
PATCHES=(
# "${FILESDIR}"/${P}-glade.patch
"${FILESDIR}"/${P}-gnuplot.patch )
src_prepare() {
sed \
-e '/COPYING/d' \
-e "s:doc/numbat:share/doc/${PF}:g" \
-i Makefile.am src/common.h || die
rm missing
emake distclean
autotools-utils_src_prepare
}
src_install() {
docompress -x /usr/share/doc/${PF}
autotools-utils_src_install
}
|