|
Lines 1-6
Link Here
|
| 1 |
# Copyright 1999-2007 Gentoo Foundation |
1 |
# Copyright 1999-2007 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/sci-libs/itpp/itpp-3.99.2.ebuild,v 1.1 2007/06/22 14:48:26 markusle Exp $ |
3 |
# $Header$ |
| 4 |
|
4 |
|
| 5 |
inherit fortran |
5 |
inherit fortran |
| 6 |
|
6 |
|
|
Lines 11-35
Link Here
|
| 11 |
|
11 |
|
| 12 |
SLOT="0" |
12 |
SLOT="0" |
| 13 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" |
13 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" |
| 14 |
IUSE="blas cblas debug doc fftw lapack minimal" |
14 |
IUSE="blas debug doc fftw lapack minimal" |
| 15 |
|
15 |
|
| 16 |
DEPEND="!minimal? ( fftw? ( || ( >=sci-libs/fftw-3.0.0 |
16 |
DEPEND="!minimal? ( fftw? ( || ( >=sci-libs/fftw-3.0.0 |
| 17 |
>=sci-libs/acml-2.5.3 ) ) ) |
17 |
>=sci-libs/acml-2.5.3 ) ) ) |
| 18 |
blas? ( virtual/blas |
18 |
blas? ( virtual/blas |
| 19 |
cblas? ( || ( >=sci-libs/gsl-1.4 |
|
|
| 20 |
>=sci-libs/mkl-8.1 |
| 21 |
>=sci-libs/acml-2.5.3 |
| 22 |
>=sci-libs/blas-atlas-3.6.0 |
| 23 |
sci-libs/cblas-reference ) ) |
| 24 |
lapack? ( virtual/lapack ) ) |
19 |
lapack? ( virtual/lapack ) ) |
| 25 |
doc? ( app-doc/doxygen |
20 |
doc? ( app-doc/doxygen |
| 26 |
virtual/tetex )" |
21 |
virtual/tetex )" |
| 27 |
|
22 |
|
| 28 |
pkg_setup() { |
23 |
pkg_setup() { |
| 29 |
# lapack/cblas can only be used in conjunction with blas |
24 |
# lapack can only be used in conjunction with blas |
| 30 |
if use cblas && ! use blas; then |
|
|
| 31 |
die "USE=cblas requires USE=blas to be set" |
| 32 |
fi |
| 33 |
if use lapack && ! use blas; then |
25 |
if use lapack && ! use blas; then |
| 34 |
die "USE=lapack requires USE=blas to be set" |
26 |
die "USE=lapack requires USE=blas to be set" |
| 35 |
fi |
27 |
fi |
|
Lines 49-55
Link Here
|
| 49 |
|
41 |
|
| 50 |
econf $(use_enable doc html-doc) \ |
42 |
econf $(use_enable doc html-doc) \ |
| 51 |
$(use_enable debug) \ |
43 |
$(use_enable debug) \ |
| 52 |
$(use_with cblas) \ |
|
|
| 53 |
$(use_with lapack) \ |
44 |
$(use_with lapack) \ |
| 54 |
$(use_with fftw fft) \ |
45 |
$(use_with fftw fft) \ |
| 55 |
"${myconf}" \ |
46 |
"${myconf}" \ |