aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schäfer <gentryx@gmx.de>2013-07-02 22:02:41 +0200
committerAndreas Schäfer <gentryx@gmx.de>2013-07-02 22:02:41 +0200
commit5ebc74c604e825550d6540cadc13fd2bbdf5da61 (patch)
tree7e128bae2a7f61961de6f4ef196ea37db426e5e6 /dev-util/intel-ocl-sdk
parentfixed (e)make invokation (diff)
downloadsci-5ebc74c604e825550d6540cadc13fd2bbdf5da61.tar.gz
sci-5ebc74c604e825550d6540cadc13fd2bbdf5da61.tar.bz2
sci-5ebc74c604e825550d6540cadc13fd2bbdf5da61.zip
moving variable declaration to src_prepare()
Diffstat (limited to 'dev-util/intel-ocl-sdk')
-rw-r--r--dev-util/intel-ocl-sdk/intel-ocl-sdk-3.0.67279.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/dev-util/intel-ocl-sdk/intel-ocl-sdk-3.0.67279.ebuild b/dev-util/intel-ocl-sdk/intel-ocl-sdk-3.0.67279.ebuild
index 69f86f02b..175c989f0 100644
--- a/dev-util/intel-ocl-sdk/intel-ocl-sdk-3.0.67279.ebuild
+++ b/dev-util/intel-ocl-sdk/intel-ocl-sdk-3.0.67279.ebuild
@@ -6,8 +6,6 @@ EAPI=5
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://registrationcenter.intel.com/irc_nas/3142/intel_sdk_for_ocl_applications_2013_xe_sdk_${PV}_x64.tgz"
@@ -45,6 +43,10 @@ src_unpack() {
use mic && rpm_unpack "./opencl-1.2-intel-mic-${PV}-1.x86_64.rpm"
}
+src_prepare() {
+ INTEL_CL=usr/$(get_libdir)/OpenCL/vendors/intel/
+}
+
src_install() {
doins -r etc
doins -r opt