void-packages/srcpkgs/SPIRV-Tools/template
2019-04-02 00:52:26 -03:00

26 lines
835 B
Bash

# Template file for 'SPIRV-Tools'
pkgname=SPIRV-Tools
version=2019.2
revision=1
build_style=cmake
configure_args="-DSPIRV_SKIP_TESTS=ON -DSPIRV_WERROR=OFF
-DSPIRV-Headers_SOURCE_DIR=${XBPS_CROSS_BASE}/usr
-DSPIRV_BUILD_COMPRESSION=ON"
hostmakedepends="python3"
makedepends="SPIRV-Headers"
short_desc="API and commands for processing SPIR-V modules"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="Apache-2.0"
homepage="https://github.com/KhronosGroup/SPIRV-Tools"
distfiles="https://github.com/KhronosGroup/SPIRV-Tools/archive/v${version}.tar.gz"
checksum=1fde9d2a0df920a401441cd77253fc7b3b9ab0578eabda8caaaceaa6c7638440
SPIRV-Tools-devel_package() {
depends="SPIRV-Tools-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
}
}