18 lines
596 B
Bash
18 lines
596 B
Bash
# Template file for 'opencl2-headers'
|
|
pkgname=opencl2-headers
|
|
version=2022.01.04
|
|
revision=1
|
|
wrksrc="OpenCL-Headers-${version}"
|
|
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=6e716e2b13fc8d363b40a165ca75021b102f9328e2b38f8054d7db5884de29c9
|
|
provides="opencl-headers-${version}_${revision}"
|
|
replaces="opencl-headers>=0"
|
|
|
|
do_install() {
|
|
install -m 0644 -D -t ${DESTDIR}/usr/include/CL CL/*.h
|
|
}
|