opencl2-headers: install pkg-config and cmake cfg.

Switched to cmake build provided by upstream.
This commit is contained in:
Daniel Lewan 2023-07-24 12:06:41 +02:00 committed by Andrew J. Hesford
parent 8c8b2c900d
commit a2184e553c
1 changed files with 3 additions and 6 deletions

View File

@ -1,16 +1,13 @@
# Template file for 'opencl2-headers'
pkgname=opencl2-headers
version=2023.04.17
revision=1
revision=2
build_style=cmake
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"
distfiles="https://github.com/KhronosGroup/OpenCL-Headers/archive/v${version}.tar.gz"
checksum=0ce992f4167f958f68a37918dec6325be18f848dee29a4521c633aae3304915d
provides="opencl-headers-${version}_${revision}"
replaces="opencl-headers>=0"
do_install() {
install -m 0644 -D -t ${DESTDIR}/usr/include/CL CL/*.h
}