summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik (Xarthisius) <xarthisius.kk@gmail.com>2011-12-25 20:25:17 +0100
committerKacper Kowalik (Xarthisius) <xarthisius.kk@gmail.com>2011-12-25 20:25:17 +0100
commit788122f534b0b40f6345d3ff8007ec22b7aef8b4 (patch)
treedb6194a707fcc9ace0057cb1515fccffb8ee0f7d /dev-util/intel-ocl-sdk/intel-ocl-sdk-1.5.ebuild
parent[x11-drivers/ati-drivers] fix path, remove blocker (diff)
downloadxarthisius-788122f534b0b40f6345d3ff8007ec22b7aef8b4.tar.gz
xarthisius-788122f534b0b40f6345d3ff8007ec22b7aef8b4.tar.bz2
xarthisius-788122f534b0b40f6345d3ff8007ec22b7aef8b4.zip
[dev-util/intel-ocl-sdk] fix paths
Diffstat (limited to 'dev-util/intel-ocl-sdk/intel-ocl-sdk-1.5.ebuild')
-rw-r--r--dev-util/intel-ocl-sdk/intel-ocl-sdk-1.5.ebuild24
1 files changed, 13 insertions, 11 deletions
diff --git a/dev-util/intel-ocl-sdk/intel-ocl-sdk-1.5.ebuild b/dev-util/intel-ocl-sdk/intel-ocl-sdk-1.5.ebuild
index b3780d3..4836c31 100644
--- a/dev-util/intel-ocl-sdk/intel-ocl-sdk-1.5.ebuild
+++ b/dev-util/intel-ocl-sdk/intel-ocl-sdk-1.5.ebuild
@@ -8,11 +8,13 @@ MY_PN=${PN//-/_}
MY_P=${MY_PN}_${PV}_x64
INTEL_SDK=/opt/intel/opencl-sdk/
-inherit rpm
+inherit rpm multilib
+
+INTEL_CL=/usr/$(get_libdir)/OpenCL/vendors/intel/
DESCRIPTION="Intel's implementation of the OpenCL standard optimized for Intel processors."
HOMEPAGE="http://software.intel.com/en-us/articles/opencl-sdk/"
-SRC_URI="http://software.intel.com/file/35820/${MY_P}.tgz" #BOGUS
+SRC_URI="http://software.intel.com/file/35734/${MY_P}.tgz"
LICENSE="Intel-SDP"
SLOT="0"
@@ -26,10 +28,10 @@ RDEPEND="dev-cpp/tbb
DEPEND=""
RESTRICT="mirror"
-QA_EXECSTACK="${INTEL_SDK/\//}lib/libcpu_device.so
- ${INTEL_SDK/\//}lib/libOclCpuBackEnd.so
- ${INTEL_SDK/\//}lib/libtask_executor.so"
-QA_PREBUILT="${INTEL_SDK}lib/*"
+QA_EXECSTACK="${INTEL_CL/\//}libcpu_device.so
+ ${INTEL_CL/\//}libOclCpuBackEnd.so
+ ${INTEL_CL/\//}libtask_executor.so"
+QA_PREBUILT="${INTEL_CL}*"
S=${WORKDIR}
@@ -40,19 +42,19 @@ src_unpack() {
src_prepare() {
cat <<- EOF > "${S}"/intelocl64.icd
- ${INTEL_SDK}/lib/libintelocl.so
+ ${INTEL_CL}/libintelocl.so
EOF
}
src_install() {
insinto ${INTEL_SDK}
doins -r usr/include
+ # things that are left out: llc, ioc
- insinto ${INTEL_SDK}/lib
+ insinto ${INTEL_CL}
doins usr/lib64/libOpenCL.so
- pushd usr/lib64/OpenCL/vendors/intel
+ pushd usr/lib64/OpenCL/vendors/intel &> /dev/null
rm -f libboost* libtbb*
doins *.so *rtl *pch
- popd
- # things that are left out: llc, ioc
+ popd &> /dev/null
}