From e7b2e1b5cd7769cd9449cb5a3a80e77e8326d6bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Mon, 5 Oct 2020 07:28:08 +0700 Subject: [PATCH] opencl-clhpp: update to 2.0.12. --- srcpkgs/opencl-clhpp/files/LICENSE.txt | 25 ------------------------ srcpkgs/opencl-clhpp/template | 27 ++++++-------------------- 2 files changed, 6 insertions(+), 46 deletions(-) delete mode 100644 srcpkgs/opencl-clhpp/files/LICENSE.txt diff --git a/srcpkgs/opencl-clhpp/files/LICENSE.txt b/srcpkgs/opencl-clhpp/files/LICENSE.txt deleted file mode 100644 index e022241b4aa..00000000000 --- a/srcpkgs/opencl-clhpp/files/LICENSE.txt +++ /dev/null @@ -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. diff --git a/srcpkgs/opencl-clhpp/template b/srcpkgs/opencl-clhpp/template index a2d140b5f9b..21f34f71748 100644 --- a/srcpkgs/opencl-clhpp/template +++ b/srcpkgs/opencl-clhpp/template @@ -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 " -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