Lines 7-19
Link Here
|
7 |
DESCRIPTION="High-performance C++ numeric library" |
7 |
DESCRIPTION="High-performance C++ numeric library" |
8 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
8 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
9 |
HOMEPAGE="http://www.oonumerics.org/blitz" |
9 |
HOMEPAGE="http://www.oonumerics.org/blitz" |
10 |
IUSE="debug doc examples icc" |
10 |
IUSE="debug doc examples" |
11 |
SLOT="0" |
11 |
SLOT="0" |
12 |
KEYWORDS="~amd64 ~ppc ~x86" |
12 |
KEYWORDS="~amd64 ~ppc ~x86" |
13 |
LICENSE="|| ( GPL-2 Blitz-Artistic )" |
13 |
LICENSE="|| ( GPL-2 Blitz-Artistic )" |
14 |
|
14 |
|
15 |
DEPEND="icc? ( dev-lang/icc ) |
15 |
DEPEND="doc? ( app-doc/doxygen )" |
16 |
doc? ( app-doc/doxygen )" |
|
|
17 |
RDEPEND="" |
16 |
RDEPEND="" |
18 |
|
17 |
|
19 |
FORTAN="g77" |
18 |
FORTAN="g77" |
Lines 30-36
Link Here
|
30 |
src_compile() { |
29 |
src_compile() { |
31 |
local myconf |
30 |
local myconf |
32 |
# ICC: if we've got it, use it |
31 |
# ICC: if we've got it, use it |
33 |
use icc && myconf="--with-cxx=icc" || myconf="--with-cxx=gcc" |
32 |
[[ $(tc-getCXX) = ic*c ]] && myconf="--with-cxx=icc" || myconf="--with-cxx=gcc" |
34 |
|
33 |
|
35 |
export CC=$(tc-getCC) CXX=$(tc-getCXX) |
34 |
export CC=$(tc-getCC) CXX=$(tc-getCXX) |
36 |
econf \ |
35 |
econf \ |