37 lines
858 B
Bash
37 lines
858 B
Bash
# Template file for 'ocl-icd'
|
|
pkgname=ocl-icd
|
|
version=2.3.2
|
|
revision=2
|
|
build_style=gnu-configure
|
|
hostmakedepends="ruby xmlto asciidoc automake libtool"
|
|
makedepends="OpenCL-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="OpenCL-Headers ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/share/doc
|
|
}
|
|
}
|