opencl2-headers: update to 2.0.20160105.

Switch to GitHub.
This commit is contained in:
Christian Neukirchen 2016-05-14 17:17:58 +02:00
parent 53d66362e0
commit 85b9a1148d

View file

@ -1,39 +1,20 @@
# Template file for 'opencl2-headers'
pkgname=opencl2-headers
_openclver=2.0
_distver=20150509
_distver=20160105
_githash=ad68ab31a430c033868574fb49c769ac09d6b6d8
version=${_openclver}.${_distver}
revision=2
revision=1
wrksrc="OpenCL-Headers-${_githash}"
noarch="yes"
build_style=fetch
short_desc="OpenCL 2.0 (Open Computing Language) header files"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="http://www.khronos.org/registry/cl/"
provides="opencl-headers-${version}_${revision}"
replaces="opencl-headers>=0"
distfiles="
https://www.khronos.org/registry/cl/api/2.0/cl.h
https://www.khronos.org/registry/cl/api/2.0/cl_d3d10.h
https://www.khronos.org/registry/cl/api/2.0/cl_d3d11.h
https://www.khronos.org/registry/cl/api/2.0/cl_dx9_media_sharing.h
https://www.khronos.org/registry/cl/api/2.0/cl_egl.h
https://www.khronos.org/registry/cl/api/2.0/cl_ext.h
https://www.khronos.org/registry/cl/api/2.0/cl_gl.h
https://www.khronos.org/registry/cl/api/2.0/cl_gl_ext.h
https://www.khronos.org/registry/cl/api/2.0/cl_platform.h
https://www.khronos.org/registry/cl/api/2.0/opencl.h"
checksum="
fa992f83fc3c55a6981a53074bc41a46839ff475b0f432f3cbb1af091df0382c
14b00ef68a2d7f471c7ef5b4576bc103888da70fc525b263b49ff7fff150e188
707709a73b6b43b96c55e813efb2d655efcc82eb103da4b8aea191231df7e1fd
41968538b82523ef8fb642a1a4da20a6262ce0448f71541db080f8ccc03971b6
31e046f50c34b24ddb9dd2a9eb182c854703c862c5e10f0145175567d6b6e670
47e22b895fa9ff8764424060e2acc44e732265ba8e6287d8856e32288d8b13e6
40375d991f4e847c94ad56c6c14400e3e7d72620117b49636518a96d57f30647
dccb3b45e53bfe0219bb48e6dbe9591bbe6a090a8b0d93a3b8580f526abc4616
1254e8d8ffbbc0e2708da7dd22712f3acbdbcd0feddb22dd07546940065a12b9
fceb7e76d81159caab6308a05ff05d18fbd84718eff4263473ecd148c458987c"
distfiles="https://github.com/KhronosGroup/OpenCL-Headers/archive/${_githash}.tar.gz"
checksum=841b33da523ed095cc95cbf1de081e798636c037b45e9f57541e49911f13e85f
do_install() {
vmkdir usr/include/CL