Lines 1-13
Link Here
|
1 |
# Copyright 1999-2005 Gentoo Foundation |
1 |
# Copyright 1999-2006 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/dev-libs/blitz/blitz-0.9.ebuild,v 1.1 2005/10/31 09:13:44 pbienst Exp $ |
3 |
# $Header: $ |
4 |
|
4 |
|
5 |
inherit eutils toolchain-funcs fortran |
5 |
inherit eutils toolchain-funcs fortran |
6 |
|
6 |
|
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 |
DEPEND="virtual/tetex |
10 |
DEPEND="doc? (virtual/tetex) |
11 |
icc? ( dev-lang/icc )" |
11 |
icc? ( dev-lang/icc )" |
12 |
IUSE="icc" |
12 |
IUSE="icc" |
13 |
|
13 |
|
Lines 21-26
Link Here
|
21 |
local myconf |
21 |
local myconf |
22 |
# ICC: if we've got it, use it |
22 |
# ICC: if we've got it, use it |
23 |
use icc && myconf="--with-cxx=icc" || myconf="--with-cxx=gcc" |
23 |
use icc && myconf="--with-cxx=icc" || myconf="--with-cxx=gcc" |
|
|
24 |
use doc && myconf="$myconf --enable-latex-docs" |
24 |
|
25 |
|
25 |
export CC=$(tc-getCC) CXX=$(tc-getCXX) |
26 |
export CC=$(tc-getCC) CXX=$(tc-getCXX) |
26 |
econf ${myconf} || die "econf failed" |
27 |
econf ${myconf} || die "econf failed" |
Lines 35-38
Link Here
|
35 |
emake DESTDIR=${D} docdir=/usr/share/doc/${PF} install || die |
36 |
emake DESTDIR=${D} docdir=/usr/share/doc/${PF} install || die |
36 |
dodoc ChangeLog ChangeLog.1 LICENSE README README.binutils \ |
37 |
dodoc ChangeLog ChangeLog.1 LICENSE README README.binutils \ |
37 |
TODO COPYING LEGAL AUTHORS NEWS |
38 |
TODO COPYING LEGAL AUTHORS NEWS |
38 |
} |
39 |
} |