blob: b53a99120e3e1e23d73124f99f14f635e9148912 (
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-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/blitz/blitz-0.7.ebuild,v 1.2 2004/03/02 22:11:41 dholm Exp $
inherit base
S=${WORKDIR}/Blitz++-${PV}
DESCRIPTION="High-performance C++ numeric library"
SRC_URI="mirror://sourceforge/${PN/-/}/Blitz++-${PV}.tar.gz"
HOMEPAGE="http://www.oonumerics.org/blitz"
DEPEND="app-text/tetex
icc? ( dev-lang/icc )"
IUSE="icc"
SLOT="0"
KEYWORDS="~x86 ~ppc"
LICENSE="GPL-2"
PATCHES1=${FILESDIR}/blitz-0.7.diff
src_compile() {
local myconf
# ICC: if we've got it, use it
use icc && myconf="--with-cxx=icc" || myconf="--with-cxx=gcc"
./configure ${myconf}
emake lib || die
}
src_install () {
einstall || die
dodoc ChangeLog ChangeLog.1 LICENSE README README.binutils \
TODO COPYING LEGAL AUTHORS NEWS
}
|