17 lines
561 B
Bash
17 lines
561 B
Bash
# Template file for 'opencl2-headers'
|
|
pkgname=opencl2-headers
|
|
version=2022.09.30
|
|
revision=1
|
|
short_desc="OpenCL 2.2 (Open Computing Language) header files"
|
|
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
|
license="Apache-2.0"
|
|
homepage="https://github.com/KhronosGroup/OpenCL-Headers"
|
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
|
checksum=0ae857ecb28af95a420c800b21ed2d0f437503e104f841ab8db249df5f4fbe5c
|
|
provides="opencl-headers-${version}_${revision}"
|
|
replaces="opencl-headers>=0"
|
|
|
|
do_install() {
|
|
install -m 0644 -D -t ${DESTDIR}/usr/include/CL CL/*.h
|
|
}
|