mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
OpenCL Headers: new recipe (#2474)
* OpenCL Headers: new recipe * Rename
This commit is contained in:
50
dev-libs/opencl_headers/opencl_headers-1.2~20180318.recipe
Normal file
50
dev-libs/opencl_headers/opencl_headers-1.2~20180318.recipe
Normal file
@@ -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/*
|
||||
}
|
||||
50
dev-libs/opencl_headers/opencl_headers-2.2~20180318.recipe
Normal file
50
dev-libs/opencl_headers/opencl_headers-2.2~20180318.recipe
Normal file
@@ -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/*
|
||||
}
|
||||
Reference in New Issue
Block a user