1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 MY_P=${PN//-/_}_2012_x64
10 INTEL_CL=usr/$(get_libdir)/OpenCL/vendors/intel/
12 DESCRIPTION="Intel's implementation of the OpenCL standard optimized for Intel processors"
13 HOMEPAGE="http://software.intel.com/en-us/articles/opencl-sdk/"
14 SRC_URI="http://registrationcenter.intel.com/irc_nas/2563/intel_sdk_for_ocl_applications_2012_x64.tgz"
21 RDEPEND="app-eselect/eselect-opencl
31 QA_EXECSTACK="${INTEL_CL/\//}libcpu_device.so
32 ${INTEL_CL/\//}libOclCpuBackEnd.so
33 ${INTEL_CL/\//}libtask_executor.so"
34 QA_PREBUILT="${INTEL_CL}*"
40 rpm_unpack ./${MY_P}.rpm
44 # Remove unnecessary and bundled stuff
45 rm -rf ${INTEL_CL}/{docs,version.txt,llc}
46 rm -f ${INTEL_CL}/libboost*.so
47 rm -f ${INTEL_CL}/libtbb*
50 rm -f ${INTEL_CL}/{ioc64,ioc.jar}
51 rm -f ${INTEL_CL}/libboost*
62 newins usr/$(get_libdir)/libOpenCL.so libOpenCL.so.1
63 dosym libOpenCL.so.1 ${INTEL_CL}/libOpenCL.so
69 eselect opencl set --use-old intel