summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam McArthur <sandymac@gentoo.org>2002-04-27 01:19:07 +0000
committerWilliam McArthur <sandymac@gentoo.org>2002-04-27 01:19:07 +0000
commit2889d4dd6b9ca5295522478906fd33848a031a5f (patch)
treeffd8c1b69f967bd55f625721193d4430772117fc
parentversion bump to newest stable (diff)
downloadgentoo-2-2889d4dd6b9ca5295522478906fd33848a031a5f.tar.gz
gentoo-2-2889d4dd6b9ca5295522478906fd33848a031a5f.tar.bz2
gentoo-2-2889d4dd6b9ca5295522478906fd33848a031a5f.zip
Added package for Intel's Math Kernel Library.
-rw-r--r--dev-libs/mkl/ChangeLog9
-rw-r--r--dev-libs/mkl/files/5.1/35mkl2
-rw-r--r--dev-libs/mkl/files/digest-mkl-5.11
-rw-r--r--dev-libs/mkl/mkl-5.1.ebuild48
4 files changed, 60 insertions, 0 deletions
diff --git a/dev-libs/mkl/ChangeLog b/dev-libs/mkl/ChangeLog
new file mode 100644
index 000000000000..3a993ab92dae
--- /dev/null
+++ b/dev-libs/mkl/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for <CATEGORY>/<PACKAGE_NAME>
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/mkl/ChangeLog,v 1.1 2002/04/27 01:19:07 sandymac Exp $
+
+*mkl-5.1 (26 Apr 2002)
+
+ 26 Apr 2002; William McArthur <sandymac@gentoo.org> mkl-5.1.ebuild :
+
+ Initial ebuild for the Intel Math Kernel Library.
diff --git a/dev-libs/mkl/files/5.1/35mkl b/dev-libs/mkl/files/5.1/35mkl
new file mode 100644
index 000000000000..65ac721a0ae4
--- /dev/null
+++ b/dev-libs/mkl/files/5.1/35mkl
@@ -0,0 +1,2 @@
+LDPATH=/opt/intel/mkl/lib/32/
+MKL_ROOT=/opt/intel/mkl
diff --git a/dev-libs/mkl/files/digest-mkl-5.1 b/dev-libs/mkl/files/digest-mkl-5.1
new file mode 100644
index 000000000000..43cc74ef70b0
--- /dev/null
+++ b/dev-libs/mkl/files/digest-mkl-5.1
@@ -0,0 +1 @@
+MD5 cb9797a95c9b4a24266d27233ea47a14 mkleval-514.tar 27924480
diff --git a/dev-libs/mkl/mkl-5.1.ebuild b/dev-libs/mkl/mkl-5.1.ebuild
new file mode 100644
index 000000000000..4326d27df057
--- /dev/null
+++ b/dev-libs/mkl/mkl-5.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Maintainer: William McArthur <sandymac@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/mkl/mkl-5.1.ebuild,v 1.1 2002/04/27 01:19:07 sandymac Exp $
+
+S=${WORKDIR}
+
+DESCRIPTION="Intel(R) Math Kernel Library"
+
+# No need to, there aren't any executables and it takes a long time.
+RESTRICT="nostrip"
+
+LICENSE="imkl-5.1"
+
+SRC_URI="http://developer.intel.com/software/products/mkl/downloads/mkleval-514.tar"
+
+HOMEPAGE="http://developer.intel.com/software/products/mkl/mkl52/index.htm"
+
+DEPEND=">=sys-libs/glibc-2.2.2
+ sys-apps/cpio
+ app-arch/rpm"
+
+RDEPEND=">=sys-kernel/linux-sources-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
+
+ sed s@\<INSTALLTIMECOMBOPACKAGEID\>@mkl_eval-5.1-4@g \
+ < opt/intel/mkl/mklsupport \
+ > opt/intel/mkl/mklsupport.abs
+ mv opt/intel/mkl/mklsupport.abs opt/intel/mkl/mklsupport
+}
+
+src_install () {
+ dodoc mkllicense
+ cp -a opt ${D}
+
+ # mkl enviroment
+ insinto /etc/env.d
+ doins ${FILESDIR}/${PVR}/35mkl
+}