2014-07-21 22:40:39 +00:00
|
|
|
# Template file for 'ocl-icd'
|
|
|
|
pkgname=ocl-icd
|
2014-11-15 17:31:30 +00:00
|
|
|
version=2.2.3
|
2014-11-15 17:43:01 +00:00
|
|
|
revision=2
|
2014-07-21 22:40:39 +00:00
|
|
|
build_style=gnu-configure
|
2014-11-15 17:43:01 +00:00
|
|
|
hostmakedepends="ruby xmlto asciidoc"
|
|
|
|
makedepends="opencl2-headers"
|
2014-07-21 22:40:39 +00:00
|
|
|
short_desc="Generic OpenCL ICD loader/demultiplexer"
|
|
|
|
maintainer="John Galt <johngaltfirstrun@gmail.com>"
|
|
|
|
homepage="https://forge.imag.fr/projects/ocl-icd/"
|
|
|
|
license="GPL-2"
|
2014-11-28 10:00:10 +00:00
|
|
|
update_pattern=$pkgname' \K[\d.]+'
|
2014-11-15 17:31:30 +00:00
|
|
|
distfiles="https://forge.imag.fr/frs/download.php/598/ocl-icd-${version}.tar.gz"
|
|
|
|
checksum=93a5ac3b23fb10731cc9e6406a58f7a21825562877787ed08c3a41f08b504d0c
|
2014-07-22 16:38:12 +00:00
|
|
|
|
2014-07-23 10:41:22 +00:00
|
|
|
provides="libOpenCL-1.2_1"
|
|
|
|
replaces="libOpenCL>=0"
|
2014-07-22 16:38:12 +00:00
|
|
|
|
|
|
|
ocl-icd-devel_package() {
|
2014-11-15 17:43:01 +00:00
|
|
|
depends="opencl2-headers ${sourcepkg}>=${version}_${revision}"
|
2014-07-22 16:38:12 +00:00
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-11-15 17:43:01 +00:00
|
|
|
vmove usr/share/doc
|
2014-07-22 16:38:12 +00:00
|
|
|
}
|
|
|
|
}
|