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
1007 B
57 lines
1007 B
4 years ago
|
# Copyright 1999-2021 Gentoo Authors
|
||
12 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
4 years ago
|
EAPI=7
|
||
12 years ago
|
|
||
4 years ago
|
inherit autotools
|
||
12 years ago
|
|
||
|
MY_PN="Numbat"
|
||
|
MY_P="${MY_PN}-${PV}"
|
||
|
|
||
4 years ago
|
DESCRIPTION="New user-friendly method built for automatic dX-tensor determination"
|
||
12 years ago
|
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"
|
||
4 years ago
|
S="${WORKDIR}"/${MY_P}
|
||
12 years ago
|
|
||
|
SLOT="0"
|
||
|
LICENSE="GPL-3"
|
||
|
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||
|
|
||
4 years ago
|
DEPEND="
|
||
12 years ago
|
gnome-base/libglade:2.0
|
||
3 years ago
|
sci-libs/gsl:=
|
||
4 years ago
|
x11-libs/gtk+:2
|
||
|
"
|
||
|
RDEPEND="
|
||
|
${DEPEND}
|
||
12 years ago
|
sci-chemistry/molmol
|
||
11 years ago
|
sci-chemistry/pymol
|
||
4 years ago
|
sci-visualization/gnuplot
|
||
|
"
|
||
|
BDEPEND="virtual/pkgconfig"
|
||
12 years ago
|
|
||
11 years ago
|
PATCHES=(
|
||
|
# "${FILESDIR}"/${P}-glade.patch
|
||
4 years ago
|
"${FILESDIR}"/${P}-gnuplot.patch
|
||
|
)
|
||
11 years ago
|
|
||
12 years ago
|
src_prepare() {
|
||
4 years ago
|
default
|
||
|
|
||
12 years ago
|
sed \
|
||
|
-e '/COPYING/d' \
|
||
|
-e "s:doc/numbat:share/doc/${PF}:g" \
|
||
|
-i Makefile.am src/common.h || die
|
||
4 years ago
|
|
||
|
rm missing || die
|
||
|
|
||
11 years ago
|
emake distclean
|
||
4 years ago
|
eautoreconf
|
||
12 years ago
|
}
|
||
|
|
||
|
src_install() {
|
||
|
docompress -x /usr/share/doc/${PF}
|
||
4 years ago
|
|
||
|
default
|
||
12 years ago
|
}
|