blob: bdb9f233755cee5cca1564b9e9ea41dcb6cbd0fe (
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
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
# inherit autotools
DESCRIPTION="a program that will automatically determine values of the anomalous scattering factors"
HOMEPAGE="http://www.gwyndafevans.co.uk/id2.html"
SRC_URI="ftp://ftp.ccp4.ac.uk/chooch/5.0.2/packed/chooch-5.0.2.tar.gz"
LICENSE="ccp4"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="X"
RDEPEND="X? ( sci-libs/pgplot )
sci-libs/gsl
sci-libs/Cgraph
virtual/blas
virtual/cblas"
DEPEND="${RDEPEND}"
S="${WORKDIR}/${PN}"
src_compile() {
rm -rf cgraph-2.04 gsl-1.4
cd chooch-5.0.2
econf \
$(use_with X x) \
--with-gsl-prefix="/usr" \
--with-cgraph-prefix="/usr"
emake -j1|| die
}
|