void-packages/srcpkgs/beignet/template

22 lines
762 B
Bash

# Template file for 'beignet'
pkgname=beignet
version=1.3.2
revision=4
wrksrc="Beignet-${version}-Source"
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
build_style=cmake
hostmakedepends="clang llvm pkg-config"
makedepends="MesaLib-devel libedit-devel libffi-devel ocl-icd-devel zlib-devel"
short_desc="The Beignet GPGPU System for Intel GPUs"
depends="ocl-icd"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1-or-later"
homepage="http://www.freedesktop.org/wiki/Software/Beignet/"
distfiles="https://01.org/sites/default/files/${pkgname}-${version}-source.tar.gz"
checksum=c555edba149de23243965a703f39f79fa06f15bcff5a3762b5544b0925010b43
post_install() {
# remove CL headers, we do use opencl-headers instead.
rm -r ${DESTDIR}/usr/include
}