ocl-icd: add OpenCL 2.0 support with opencl2-headers; install docs too.
This commit is contained in:
parent
9cae427599
commit
850f493e0b
|
@ -1,10 +1,10 @@
|
||||||
# Template file for 'ocl-icd'
|
# Template file for 'ocl-icd'
|
||||||
pkgname=ocl-icd
|
pkgname=ocl-icd
|
||||||
version=2.2.3
|
version=2.2.3
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="ruby"
|
hostmakedepends="ruby xmlto asciidoc"
|
||||||
makedepends="opencl-headers"
|
makedepends="opencl2-headers"
|
||||||
short_desc="Generic OpenCL ICD loader/demultiplexer"
|
short_desc="Generic OpenCL ICD loader/demultiplexer"
|
||||||
maintainer="John Galt <johngaltfirstrun@gmail.com>"
|
maintainer="John Galt <johngaltfirstrun@gmail.com>"
|
||||||
homepage="https://forge.imag.fr/projects/ocl-icd/"
|
homepage="https://forge.imag.fr/projects/ocl-icd/"
|
||||||
|
@ -16,11 +16,11 @@ provides="libOpenCL-1.2_1"
|
||||||
replaces="libOpenCL>=0"
|
replaces="libOpenCL>=0"
|
||||||
|
|
||||||
ocl-icd-devel_package() {
|
ocl-icd-devel_package() {
|
||||||
depends="opencl-headers ${sourcepkg}>=${version}_${revision}"
|
depends="opencl2-headers ${sourcepkg}>=${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
vmove usr/share
|
vmove usr/share/doc
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue