# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-libs/mkl/mkl-5.1.ebuild,v 1.13 2004/06/24 23:28:30 agriffis Exp $ S=${WORKDIR} DESCRIPTION="Intel(R) Math Kernel Library" HOMEPAGE="http://developer.intel.com/software/products/mkl/mkl52/" SRC_URI="http://developer.intel.com/software/products/mkl/downloads/mkleval-514.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 sed s@\@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 }