void-packages/srcpkgs/embree/template
2015-09-18 15:07:19 +02:00

24 lines
791 B
Bash

# Template file for 'embree'
pkgname=embree
version=2.7.0
revision=1
only_for_archs="x86_64"
build_style=cmake
hostmakedepends="cmake ispc"
makedepends="libfreeglut-devel libXmu-devel tbb-devel MesaLib-devel libpng-devel libopenexr-devel libjpeg-turbo-devel libmagick-devel"
short_desc="High Performance Ray Tracing Kernels"
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
license="Apache-2.0"
homepage="https://embree.github.io/"
distfiles="https://github.com/$pkgname/$pkgname/archive/v$version.tar.gz"
checksum=2b5dacbf1c94a2e6568661eae7cdb91abbdc65feaccd8aec03c8fd4b32fca6aa
configure_args="-DTBB_ROOT=/usr -DENABLE_TUTORIALS=OFF"
embree-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
}
}