/[gentoo-x86]/sci-libs/blas-reference/blas-reference-19940131-r2.ebuild
Gentoo

Diff of /sci-libs/blas-reference/blas-reference-19940131-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 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/blas-reference/Attic/blas-reference-19940131-r2.ebuild,v 1.1 2005/11/13 05:42:14 ribosome Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-reference/Attic/blas-reference-19940131-r2.ebuild,v 1.2 2005/11/13 16:54:03 markusle Exp $
4 4
5inherit eutils fortran 5inherit eutils fortran
6 6
7Name="blas" 7Name="blas"
8DESCRIPTION="FORTRAN reference implementation of the BLAS (linear algebra lib)" 8DESCRIPTION="FORTRAN reference implementation of the BLAS (linear algebra lib)"
58 RPATH="${TOP_PATH}"/reference 58 RPATH="${TOP_PATH}"/reference
59 59
60 if use ifc; then 60 if use ifc; then
61 ifc_info 61 ifc_info
62 make static FC="ifc" FFLAGS="${IFCFLAGS}" || die 62 make static FC="ifc" FFLAGS="${IFCFLAGS}" || die
63 ifc -shared ${IFCFLAGS} -Wl,-soname,libblas.so.0 \ 63 libtool --tag=F77 --mode=link ifc -shared ${IFCFLAGS} \
64 -o libblas.so.0.0.0 *.lo || die 64 -Wl,-soname,libblas.so.0 -o libblas.so.0.0.0 *.lo || die
65 else 65 else
66 # libg2c is required to link to libblas.so using ifc: 66 # libg2c is required to link to libblas.so using ifc:
67 make libs FC="g77" FFLAGS="${CFLAGS}" \ 67 make libs FC="g77" FFLAGS="${CFLAGS}" \
68 LIBTOOL_FLAGS="-rpath ${RPATH} -lg2c" || die 68 LIBTOOL_FLAGS="-rpath ${RPATH} -lg2c" || die
69 fi 69 fi

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20