void-packages/srcpkgs/beignet/template

23 lines
795 B
Bash

# Template file for 'beignet'
pkgname=beignet
version=1.0.3
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=21f878d5c6d900c0f28bf53450126468b54295cb248a2686a4abbb1f7c7fca32
post_install() {
# remove CL headers, we do use opencl-headers instead.
rm -r ${DESTDIR}/usr/include
}