void-packages/srcpkgs/OpenCL-Headers/template

20 lines
684 B
Bash

# Template file for 'OpenCL-Headers'
pkgname=OpenCL-Headers
version=2024.05.08
revision=1
build_style=cmake
short_desc="Khronos OpenCL (Open Computing Language) header files"
maintainer="Andrew J. Hesford <ajh@sideband.org>"
license="Apache-2.0"
homepage="https://github.com/KhronosGroup/OpenCL-Headers"
distfiles="https://github.com/KhronosGroup/OpenCL-Headers/archive/v${version}.tar.gz"
checksum=3c3dd236d35f4960028f4f58ce8d963fb63f3d50251d1e9854b76f1caab9a309
provides="opencl-headers-${version}_${revision}"
replaces="opencl-headers>=0"
opencl2-headers_package() {
build_style=meta
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" (transitional dummy package)"
}