Lines 2-7
Link Here
|
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/lapack/lapack-3.0-r1.ebuild,v 1.4 2006/08/25 07:30:14 corsair Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/sci-libs/lapack/lapack-3.0-r1.ebuild,v 1.4 2006/08/25 07:30:14 corsair Exp $ |
4 |
|
4 |
|
|
|
5 |
inherit toolchain-funcs fortran |
6 |
|
5 |
DESCRIPTION="Linear Algebra PACKage for scientists, engineers, and mathematicians. This contains the libraries for creating programs that use LAPACK." |
7 |
DESCRIPTION="Linear Algebra PACKage for scientists, engineers, and mathematicians. This contains the libraries for creating programs that use LAPACK." |
6 |
HOMEPAGE="http://www.netlib.org/lapack/" |
8 |
HOMEPAGE="http://www.netlib.org/lapack/" |
7 |
SRC_URI="http://www.netlib.org/lapack/lapack.tgz" |
9 |
SRC_URI="http://www.netlib.org/lapack/lapack.tgz" |
Lines 21-27
Link Here
|
21 |
cd SRC |
23 |
cd SRC |
22 |
# ncessary to be able to link against liblapack.a on amd64 |
24 |
# ncessary to be able to link against liblapack.a on amd64 |
23 |
use amd64 && CFLAGS="${CFLAGS} -fPIC" |
25 |
use amd64 && CFLAGS="${CFLAGS} -fPIC" |
24 |
FC="g77" FFLAGS="${CFLAGS}" make static || die "make failed" |
26 |
FC=$(tc-getCC) FFLAGS="${CFLAGS}" make static || die "make failed" |
25 |
} |
27 |
} |
26 |
|
28 |
|
27 |
src_install() { |
29 |
src_install() { |