summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2004-01-30 19:54:56 +0000
committerGeorge Shapovalov <george@gentoo.org>2004-01-30 19:54:56 +0000
commitec4d07645ce0bcf8578528695e090611cc054245 (patch)
treee931ce3ad907dfadb27035cb3a6c24f2b2f8425e /dev-libs/mkl
parentstable on sparc (diff)
downloadgentoo-2-ec4d07645ce0bcf8578528695e090611cc054245.tar.gz
gentoo-2-ec4d07645ce0bcf8578528695e090611cc054245.tar.bz2
gentoo-2-ec4d07645ce0bcf8578528695e090611cc054245.zip
new version
Diffstat (limited to 'dev-libs/mkl')
-rw-r--r--dev-libs/mkl/ChangeLog10
-rw-r--r--dev-libs/mkl/files/digest-mkl-5.21
-rw-r--r--dev-libs/mkl/metadata.xml5
-rw-r--r--dev-libs/mkl/mkl-5.2.ebuild46
4 files changed, 61 insertions, 1 deletions
diff --git a/dev-libs/mkl/ChangeLog b/dev-libs/mkl/ChangeLog
index 3cf934a87137..d1921c8f9fcd 100644
--- a/dev-libs/mkl/ChangeLog
+++ b/dev-libs/mkl/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-libs/mkl
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/mkl/ChangeLog,v 1.6 2003/02/12 06:07:54 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/mkl/ChangeLog,v 1.7 2004/01/30 19:54:56 george Exp $
+
+*mkl-5.2 (30 Jan 2004)
+
+ 30 Jan 2004; George Shapovalov <george@gentoo.org> mkl-5.2.ebuild, metadata.xml :
+ new version (#38830), few cleanups, added metadata
+ Thanks to Peter Bienstman <Peter.Bienstman@rug.ac.be> for an update.
+ The "new" license was different only in the version number in one place. I just modified
+ the file under license to accomodate both 5.1 and 5.2
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
diff --git a/dev-libs/mkl/files/digest-mkl-5.2 b/dev-libs/mkl/files/digest-mkl-5.2
new file mode 100644
index 000000000000..4b5b44f2b42c
--- /dev/null
+++ b/dev-libs/mkl/files/digest-mkl-5.2
@@ -0,0 +1 @@
+MD5 28ebe97bba4458fff7025c53969e3c0c mkl52lin_e.tar 32296960
diff --git a/dev-libs/mkl/metadata.xml b/dev-libs/mkl/metadata.xml
new file mode 100644
index 000000000000..b229aec85b8f
--- /dev/null
+++ b/dev-libs/mkl/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+</pkgmetadata>
diff --git a/dev-libs/mkl/mkl-5.2.ebuild b/dev-libs/mkl/mkl-5.2.ebuild
new file mode 100644
index 000000000000..5af269a63af7
--- /dev/null
+++ b/dev-libs/mkl/mkl-5.2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/mkl/mkl-5.2.ebuild,v 1.1 2004/01/30 19:54:56 george Exp $
+
+S=${WORKDIR}
+DESCRIPTION="Intel(R) Math Kernel Library"
+HOMEPAGE="http://developer.intel.com/software/products/mkl/"
+SRC_URI="http://developer.intel.com/software/products/mkl/downloads/mkl52lin_e.tar"
+
+IUSE=""
+
+# No need to, there aren't any executables and it takes a long time.
+RESTRICT="nostrip"
+
+SLOT="0"
+LICENSE="imkl-5.1"
+KEYWORDS="~x86 ~sparc"
+
+DEPEND="app-arch/cpio
+ app-arch/rpm"
+
+RDEPEND=">=sys-kernel/linux-headers-2.4
+ >=sys-libs/glibc-2.2.2"
+
+src_compile() {
+ mkdir opt
+
+ for x in intel-*.i386.rpm
+ do
+ einfo "Extracting: ${x}"
+ rpm2cpio ${x} | cpio --extract --make-directories --unconditional
+ done
+}
+
+src_install () {
+ cp -a opt ${D}
+ cd ${D}/opt/intel/mkl/
+ dodoc license.txt
+ dohtml -r mklnotes.htm mkllic.htm doc/*
+ rm -rf license.txt *.htm uninstall doc/
+
+ # Mkl enviroment
+ dodir /etc/env.d
+ echo "LDPATH=/opt/intel/mkl/lib/32/" > ${D}/etc/env.d/35mkl
+ echo "MKL_ROOT=/opt/intel/mkl" >> ${D}/etc/env.d/35mkl
+}