aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher (jlec) <jlec@j-schmitz.net>2009-03-25 21:23:09 +0100
committerJustin Lecher (jlec) <jlec@j-schmitz.net>2009-03-25 21:23:09 +0100
commit8fedc52f0e0bc89fd44ae9e1cf206bbb62a23ba0 (patch)
tree8a0727f2cefcef7a6f31acbf3b8173b0c8978267
parentsci-libs/clapack RDEPEND missing (diff)
downloadsci-8fedc52f0e0bc89fd44ae9e1cf206bbb62a23ba0.tar.gz
sci-8fedc52f0e0bc89fd44ae9e1cf206bbb62a23ba0.tar.bz2
sci-8fedc52f0e0bc89fd44ae9e1cf206bbb62a23ba0.zip
reviewed version of clapack
-rw-r--r--sci-libs/clapack/Manifest2
-rw-r--r--sci-libs/clapack/clapack-3.1.1.1.ebuild19
2 files changed, 12 insertions, 9 deletions
diff --git a/sci-libs/clapack/Manifest b/sci-libs/clapack/Manifest
index 754ca9332..e008b0841 100644
--- a/sci-libs/clapack/Manifest
+++ b/sci-libs/clapack/Manifest
@@ -1,5 +1,5 @@
AUX 3.1.1.1-Makefile.patch 297 RMD160 06bca626fbc535d457a8c1d28892b8546ef6d556 SHA1 9f406490dbb973c6f08e55b238cb535505dd1d55 SHA256 5074b3ed59bc8c177d6ae47cf75ff846a20d79a201f66515fb43461c9623215e
DIST clapack-3.1.1.1.tgz 5306483 RMD160 ed7f3e8e2ee540108d027b1c85e229565fce5fcf SHA1 fd564fe7630a267a9fa99c98e8c80aef6b0246b3 SHA256 aa14528e8901c4e970814d44610e5377d33f62077e151965660b2d0690459428
-EBUILD clapack-3.1.1.1.ebuild 1020 RMD160 66a42509011fcdf051631cf2d46218990a9333df SHA1 017f2c48f4a17166e52023a00495d1a117d8f216 SHA256 5da24c7944caef8f4f645aa5f634ed541c8a2f322e947f36cfe26a442ab4a65c
+EBUILD clapack-3.1.1.1.ebuild 1030 RMD160 d8716ff6c0ad5f447b265bca1c3d693b6ac43988 SHA1 1c0705575a5a52d3e1a4f3fe9584e4ca6cc36744 SHA256 7f720d186667accb538565d8bc08f89e5f2e00a187df01c707ac8c15d6877463
MISC ChangeLog 298 RMD160 17b6692bdbc59110afc631cd4c940256343462a1 SHA1 ae87faf56f9c48d7f1e1dd74614bf2061ca07c96 SHA256 680c7c5e18d8a3968ab8f2b25f47e7922804d0ce369607f3a2428b19fa624c8f
MISC metadata.xml 215 RMD160 bc9c07aa91f2f175542244e4e4522a73558210a1 SHA1 facb283386de1c0b6b938cdcd4dde04d1694298b SHA256 13f32353652adbd3d934d41381cfc2cacc9e1127c508cebc73806cc1026ee80c
diff --git a/sci-libs/clapack/clapack-3.1.1.1.ebuild b/sci-libs/clapack/clapack-3.1.1.1.ebuild
index d86d30856..767b89664 100644
--- a/sci-libs/clapack/clapack-3.1.1.1.ebuild
+++ b/sci-libs/clapack/clapack-3.1.1.1.ebuild
@@ -2,8 +2,6 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI="2"
-
inherit toolchain-funcs eutils
DESCRIPTION="f2c'ed version of LAPACK"
@@ -15,12 +13,13 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-RDEPEND="virtual/blas
- >=dev-libs/libf2c-20081126"
+RDEPEND=">=dev-libs/libf2c-20081126"
DEPEND="${RDEPEND}"
S="${WORKDIR}"/CLAPACK-${PV}
-src_prepare() {
+src_unpack() {
+ unpack ${P}.tgz
+ cd "${S}"
epatch "${FILESDIR}"/${PV}-Makefile.patch
sed \
@@ -28,15 +27,19 @@ src_prepare() {
-e "s:^CFLAGS.*$:CFLAGS = ${CFLAGS}:g" \
-e "s:^LOADER.*$:LOADER = $(tc-getCC):g" \
-e "s:^LOADOPTS.*$:LOADOPTS = ${LDFLAGS}:g" \
- -e "s:^BLASLIB.*$:BLASLIB = /usr/$(get_libdir)/libblas.a $(pkg-config --libs blas):g" \
-e "s:^F2CLIB.*$:F2CLIB = /usr/$(get_libdir)/libf2c.a:g" \
+ -e "s:LAPACKLIB.*$:LAPACKLIB = libclapack.a:g" \
make.inc.example > make.inc
+
+ sed \
+ -e 's:"f2c.h":<f2c.h>:g' \
+ -i SRC/*.c
}
src_compile() {
- emake lapacklib || die "compile failed"
+ emake lapacklib blaslib || die "compile failed"
}
src_install() {
- newlib.a lapack_LINUX.a libclapack.a
+ dolib.a lib${PN}.a || die
}