void-packages/srcpkgs/ocl-icd/template

27 lines
761 B
Bash
Raw Normal View History

2014-07-22 00:40:39 +02:00
# Template file for 'ocl-icd'
pkgname=ocl-icd
2014-11-15 18:31:30 +01:00
version=2.2.3
revision=3
2014-07-22 00:40:39 +02:00
build_style=gnu-configure
hostmakedepends="ruby xmlto asciidoc"
makedepends="opencl2-headers"
2014-07-22 00:40:39 +02: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-15 18:31:30 +01:00
distfiles="https://forge.imag.fr/frs/download.php/598/ocl-icd-${version}.tar.gz"
checksum=93a5ac3b23fb10731cc9e6406a58f7a21825562877787ed08c3a41f08b504d0c
provides="libOpenCL-1.2_1"
replaces="libOpenCL>=0"
ocl-icd-devel_package() {
depends="opencl2-headers ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/doc
}
}