void-packages/srcpkgs/ocl-icd/template

31 lines
802 B
Bash

# Template file for 'ocl-icd'
pkgname=ocl-icd
version=2.2.12
revision=1
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="BSD-2-Clause"
distfiles="https://forge.imag.fr/frs/download.php/836/${pkgname}-${version}.tar.gz"
checksum=7665f368354e3d2b7787ba4a23c6f061db1181195ba1914dd1cdcd462eca4df4
provides="libOpenCL-1.2_1"
replaces="libOpenCL>=0"
post_install() {
vlicense COPYING
}
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
}
}