void-packages/srcpkgs/ocl-icd/template

27 lines
752 B
Bash

# Template file for 'ocl-icd'
pkgname=ocl-icd
version=2.2.9
revision=2
build_style=gnu-configure
hostmakedepends="ruby xmlto asciidoc"
makedepends="opencl2-headers"
short_desc="Generic OpenCL ICD loader/demultiplexer"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://forge.imag.fr/projects/ocl-icd/"
license="GPL-2"
distfiles="http://forge.imag.fr/frs/download.php/716/ocl-icd-${version}.tar.gz"
checksum=0c8ac13e2c5b737c34de49f9aca6cad3c4d33dd0bbb149b01238d76e798feae5
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
}
}