opencl-clhpp: update to 2.0.12.
This commit is contained in:
parent
976ec57cf6
commit
e7b2e1b5cd
2 changed files with 6 additions and 46 deletions
|
@ -1,25 +0,0 @@
|
|||
Copyright (c) 2008-2015 The Khronos Group Inc.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a
|
||||
copy of this software and/or associated documentation files (the
|
||||
"Materials"), to deal in the Materials without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Materials, and to
|
||||
permit persons to whom the Materials are furnished to do so, subject to
|
||||
the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included
|
||||
in all copies or substantial portions of the Materials.
|
||||
|
||||
MODIFICATIONS TO THIS FILE MAY MEAN IT NO LONGER ACCURATELY REFLECTS
|
||||
KHRONOS STANDARDS. THE UNMODIFIED, NORMATIVE VERSIONS OF KHRONOS
|
||||
SPECIFICATIONS AND HEADER INFORMATION ARE LOCATED AT
|
||||
https://www.khronos.org/registry/
|
||||
|
||||
THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
|
|
@ -1,28 +1,13 @@
|
|||
# Template file for 'opencl-clhpp'
|
||||
pkgname=opencl-clhpp
|
||||
version=2.0.10
|
||||
version=2.0.12
|
||||
revision=1
|
||||
wrksrc="OpenCL-CLHPP-${version}"
|
||||
archs=noarch
|
||||
hostmakedepends="python"
|
||||
build_style=cmake
|
||||
configure_args="-DBUILD_TESTS=OFF -DBUILD_EXAMPLES=OFF"
|
||||
short_desc="OpenCL Host API C++ bindings (cl.hpp and cl2.hpp)"
|
||||
maintainer="lemmi <lemmi@nerd2nerd.org>"
|
||||
license="MIT"
|
||||
license="Apache-2.0"
|
||||
homepage="http://www.khronos.org/registry/cl/"
|
||||
distfiles="https://github.com/KhronosGroup/OpenCL-CLHPP/archive/v2.0.10.tar.gz"
|
||||
checksum=fa27456295c3fa534ce824eb0314190a8b3ebd3ba4d93a0b1270fc65bf378f2b
|
||||
|
||||
do_build() {
|
||||
python2 gen_cl_hpp.py -i input_cl.hpp -o cl.hpp
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vmkdir usr/include/CL
|
||||
install -m644 cl.hpp ${DESTDIR}/usr/include/CL
|
||||
install -m644 input_cl2.hpp ${DESTDIR}/usr/include/CL/cl2.hpp
|
||||
|
||||
# LICENSE.txt from git master. Check on next update whether it can be
|
||||
# removed again
|
||||
|
||||
vlicense ${FILESDIR}/LICENSE.txt
|
||||
}
|
||||
distfiles="https://github.com/KhronosGroup/OpenCL-CLHPP/archive/v$version.tar.gz"
|
||||
checksum=20b28709ce74d3602f1a946d78a2024c1f6b0ef51358b9686612669897a58719
|
||||
|
|
Loading…
Reference in a new issue