20 lines
624 B
Bash
20 lines
624 B
Bash
# Template file for 'opencl2-headers'
|
|
pkgname=opencl2-headers
|
|
version=2020.06.16
|
|
revision=1
|
|
archs=noarch
|
|
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=2f5a60e5ac4b127650618c58a7e3b35a84dbf23c1a0ac72eb5e7baf221600e06
|
|
provides="opencl-headers-${version}_${revision}"
|
|
replaces="opencl-headers>=0"
|
|
|
|
do_install() {
|
|
vmkdir usr/include/CL
|
|
install -m644 CL/*.h ${DESTDIR}/usr/include/CL
|
|
}
|