From 777350fa7ce3f4d15fcc40b3b0a6b982d087d444 Mon Sep 17 00:00:00 2001 From: miqlas <5569059+extrowerk@users.noreply.github.com> Date: Thu, 26 Apr 2018 06:09:36 +0200 Subject: [PATCH] OpenCL Headers: new recipe (#2474) * OpenCL Headers: new recipe * Rename --- .../opencl_headers-1.2~20180318.recipe | 50 +++++++++++++++++++ .../opencl_headers-2.2~20180318.recipe | 50 +++++++++++++++++++ 2 files changed, 100 insertions(+) create mode 100644 dev-libs/opencl_headers/opencl_headers-1.2~20180318.recipe create mode 100644 dev-libs/opencl_headers/opencl_headers-2.2~20180318.recipe diff --git a/dev-libs/opencl_headers/opencl_headers-1.2~20180318.recipe b/dev-libs/opencl_headers/opencl_headers-1.2~20180318.recipe new file mode 100644 index 000000000..c231b194d --- /dev/null +++ b/dev-libs/opencl_headers/opencl_headers-1.2~20180318.recipe @@ -0,0 +1,50 @@ +SUMMARY="Open Computing Language header files" +DESCRIPTION="opencl_headers™ (Open Computing Language) is the open, royalty-free \ +standard for cross-platform, parallel programming of diverse processors found \ +in personal computers, servers, mobile devices and embedded platforms. \ +opencl_headers greatly improves the speed and responsiveness of a wide spectrum of \ +applications in numerous market categories including gaming and \ +entertainment titles, scientific and medical software, professional creative \ +tools, vision processing, and neural network training and inferencing." +HOMEPAGE="https://www.khronos.org/opencl_headers/" +COPYRIGHT="2008-2015 The Khronos Group Inc." +LICENSE="MIT" +REVISION="1" +gitRevision="e986688daf750633898dfd3994e14a9e618f2aa5" +SOURCE_URI="https://github.com/KhronosGroup/OpenCL-Headers/archive/$gitRevision.zip" +SOURCE_DIR="OpenCL-Headers-$gitRevision" +CHECKSUM_SHA256="264049db0538a017856b4a9a93f72180f677f095e4bcd806a9fd57e10b03f712" + +ARCHITECTURES="x86 x86_64" + +openclVersion="1.2" +openclVersionCompat="$openclVersion compat >= ${openclVersion%%.*}" + +PROVIDES=" + opencl_headers_devel = $openclVersionCompat + devel:libopencl_headers = $openclVersionCompat + " +REQUIRES=" + haiku + " +CONFLICTS=" + devel:libopencl_headers >= 2 + " + +BUILD_REQUIRES=" + $REQUIRES + " +BUILD_PREREQUIRES=" + coreutils + " + +BUILD() +{ + : +} + +INSTALL() +{ + install -d "$includeDir/CL" + install -t "$includeDir/CL" -m 644 opencl12/CL/* +} diff --git a/dev-libs/opencl_headers/opencl_headers-2.2~20180318.recipe b/dev-libs/opencl_headers/opencl_headers-2.2~20180318.recipe new file mode 100644 index 000000000..fe0560c7f --- /dev/null +++ b/dev-libs/opencl_headers/opencl_headers-2.2~20180318.recipe @@ -0,0 +1,50 @@ +SUMMARY="Open Computing Language header files" +DESCRIPTION="opencl_headers™ (Open Computing Language) is the open, royalty-free \ +standard for cross-platform, parallel programming of diverse processors found \ +in personal computers, servers, mobile devices and embedded platforms. \ +opencl_headers greatly improves the speed and responsiveness of a wide spectrum of \ +applications in numerous market categories including gaming and \ +entertainment titles, scientific and medical software, professional creative \ +tools, vision processing, and neural network training and inferencing." +HOMEPAGE="https://www.khronos.org/opencl_headers/" +COPYRIGHT="2008-2015 The Khronos Group Inc." +LICENSE="MIT" +REVISION="1" +gitRevision="e986688daf750633898dfd3994e14a9e618f2aa5" +SOURCE_URI="https://github.com/KhronosGroup/OpenCL-Headers/archive/$gitRevision.zip" +SOURCE_DIR="OpenCL-Headers-$gitRevision" +CHECKSUM_SHA256="264049db0538a017856b4a9a93f72180f677f095e4bcd806a9fd57e10b03f712" + +ARCHITECTURES="x86 x86_64" + +openclVersion="2.2" +openclVersionCompat="$openclVersion compat >= ${openclVersion%%.*}" + +PROVIDES=" + opencl_headers_devel = $openclVersionCompat + devel:libopencl_headers = $openclVersionCompat + " +REQUIRES=" + haiku + " +CONFLICTS=" + devel:libopencl_headers >= 1 + " + +BUILD_REQUIRES=" + $REQUIRES + " +BUILD_PREREQUIRES=" + coreutils + " + +BUILD() +{ + : +} + +INSTALL() +{ + install -d "$includeDir/CL" + install -t "$includeDir/CL" -m 644 opencl22/CL/* +}