void-packages/srcpkgs/ocl-icd/template

28 lines
799 B
Plaintext
Raw Normal View History

2014-07-22 00:40:39 +02:00
# Template file for 'ocl-icd'
pkgname=ocl-icd
version=2.1.3
revision=3
2014-07-22 00:40:39 +02:00
build_style=gnu-configure
hostmakedepends="ruby"
makedepends="opencl-headers"
short_desc="Generic OpenCL ICD loader/demultiplexer"
maintainer="John Galt <johngaltfirstrun@gmail.com>"
homepage="https://forge.imag.fr/projects/ocl-icd/"
license="GPL-2"
distfiles="https://forge.imag.fr/frs/download.php/524/ocl-icd-2.1.3.tar.gz"
checksum="8338c6ae5cb7a9b34dfe79922f5e32c4f78c535a2217321dae842f72e0a2b175"
provides="libOpenCL-1.2_1 libOpenCL-32bit-1.2_1"
replaces="libOpenCL>=0 libOpenCL-32bit>=0"
ocl-icd-devel_package() {
depends="opencl-headers ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
vmove usr/share
}
}