void-packages/srcpkgs/beignet/template

22 lines
795 B
Bash

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