aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher (jlec) <jlec@j-schmitz.net>2009-03-25 15:29:18 +0100
committerJustin Lecher (jlec) <jlec@j-schmitz.net>2009-03-25 15:29:18 +0100
commit065b9fa5640b5f1a0b42c83f716242af1d55c49e (patch)
treeaf284264bd710dd51616e02e2beff8d26f8b66cc
parentremoved .svn and added ChengeLog entry (diff)
downloadsci-065b9fa5640b5f1a0b42c83f716242af1d55c49e.tar.gz
sci-065b9fa5640b5f1a0b42c83f716242af1d55c49e.tar.bz2
sci-065b9fa5640b5f1a0b42c83f716242af1d55c49e.zip
sci-libs/clapack added
-rw-r--r--sci-libs/clapack/ChangeLog10
-rw-r--r--sci-libs/clapack/Manifest5
-rw-r--r--sci-libs/clapack/clapack-3.1.1.1.ebuild41
-rw-r--r--sci-libs/clapack/files/3.1.1.1-Makefile.patch9
-rw-r--r--sci-libs/clapack/metadata.xml8
5 files changed, 73 insertions, 0 deletions
diff --git a/sci-libs/clapack/ChangeLog b/sci-libs/clapack/ChangeLog
new file mode 100644
index 000000000..a468614f4
--- /dev/null
+++ b/sci-libs/clapack/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sci-libs/clapack
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*clapack-3.1.1.1 (25 Mar 2009)
+
+ 25 Mar 2009; Justin Lecher (jlec) <jlec@j-schmitz.net>
+ +files/3.1.1.1-Makefile.patch, +metadata.xml, +clapack-3.1.1.1.ebuild:
+ Initial checkin
+
diff --git a/sci-libs/clapack/Manifest b/sci-libs/clapack/Manifest
new file mode 100644
index 000000000..7a6435244
--- /dev/null
+++ b/sci-libs/clapack/Manifest
@@ -0,0 +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 992 RMD160 8336391cd93c6d97b7c26ced21a13525f19cae34 SHA1 f8803ec2359027bafacc73cb043b332d24eb3a85 SHA256 f9fd3a70b9d7e6f7211c7da313cdb5c72caa485890172b9f11f1b760cd7d648e
+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
new file mode 100644
index 000000000..383bae9a8
--- /dev/null
+++ b/sci-libs/clapack/clapack-3.1.1.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+inherit toolchain-funcs eutils
+
+DESCRIPTION="f2c'ed version of LAPACK"
+HOMEPAGE="http://www.netlib.org/clapack/"
+SRC_URI="http://gentoo.j-schmitz.net/portage/distfiles/ALL/clapack-3.1.1.1.tgz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="virtual/blas"
+DEPEND="${RDEPEND}"
+S="${WORKDIR}"/CLAPACK-${PV}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PV}-Makefile.patch
+
+ sed \
+ -e "s:^CC.*$:CC = $(tc-getCC):g" \
+ -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" \
+ make.inc.example > make.inc
+}
+
+src_compile() {
+ emake lapacklib || die "compile failed"
+}
+
+src_install() {
+ newlib.a lapack_LINUX.a libclapack.a
+}
diff --git a/sci-libs/clapack/files/3.1.1.1-Makefile.patch b/sci-libs/clapack/files/3.1.1.1-Makefile.patch
new file mode 100644
index 000000000..d3aabd076
--- /dev/null
+++ b/sci-libs/clapack/files/3.1.1.1-Makefile.patch
@@ -0,0 +1,9 @@
+--- INSTALL/Makefile 2008-09-03 21:29:25.000000000 +0200
++++ INSTALL/Makefile.new 2009-03-25 14:30:19.000000000 +0100
+@@ -1,5 +1,4 @@
+ include ../make.inc
+-F2CLIB = ../F2CLIBS/libf2c.a
+
+ .SUFFIXES : .o .c
+ all: testlsame testslamch testdlamch testsecond testdsecnd testieee testversion
+
diff --git a/sci-libs/clapack/metadata.xml b/sci-libs/clapack/metadata.xml
new file mode 100644
index 000000000..efb490d78
--- /dev/null
+++ b/sci-libs/clapack/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<maintainer>
+ <email>sci@gentoo.org</email>
+</maintainer>
+</pkgmetadata>