void-packages/srcpkgs/opencl2-headers/template

23 lines
731 B
Bash

# Template file for 'opencl2-headers'
pkgname=opencl2-headers
_openclver=2.0
_distver=20160105
_githash=ad68ab31a430c033868574fb49c769ac09d6b6d8
version=${_openclver}.${_distver}
revision=1
wrksrc="OpenCL-Headers-${_githash}"
noarch="yes"
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://github.com/KhronosGroup/OpenCL-Headers/archive/${_githash}.tar.gz"
checksum=841b33da523ed095cc95cbf1de081e798636c037b45e9f57541e49911f13e85f
do_install() {
vmkdir usr/include/CL
install -m644 *.h ${DESTDIR}/usr/include/CL
}