37 lines
860 B
Bash
37 lines
860 B
Bash
# Template file for 'ocl-icd'
|
|
pkgname=ocl-icd
|
|
version=2.3.2
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="ruby xmlto asciidoc automake libtool"
|
|
makedepends="opencl2-headers"
|
|
short_desc="Generic OpenCL ICD loader/demultiplexer"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="BSD-2-Clause"
|
|
homepage="https://github.com/OCL-dev/ocl-icd"
|
|
distfiles="https://github.com/OCL-dev/${pkgname}/archive/v${version}.tar.gz"
|
|
checksum=ec47d7dcd961ea06695b067e8b7edb82e420ddce03e0081a908c62fd0b8535c5
|
|
|
|
provides="libOpenCL-1.2_1"
|
|
replaces="libOpenCL>=0"
|
|
|
|
CFLAGS="-fcommon"
|
|
|
|
pre_configure() {
|
|
./bootstrap
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|