void-packages/srcpkgs/glslang/template

28 lines
793 B
Bash
Raw Normal View History

2018-08-04 14:02:42 +02:00
# Template file for 'glslang'
pkgname=glslang
2018-11-15 21:10:21 +01:00
version=7.10.2984
2018-08-10 22:50:27 +02:00
revision=1
2018-08-04 14:02:42 +02:00
build_style=cmake
2018-08-05 02:50:50 +02:00
configure_args="-DBUILD_SHARED_LIBS=ON"
2018-08-04 14:02:42 +02:00
hostmakedepends="python bison"
short_desc="Khronos reference front-end for GLSL, ESSL, and sample SPIR-V generator"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="BSD-3-Clause"
homepage="https://github.com/KhronosGroup/glslang"
distfiles="https://github.com/KhronosGroup/glslang/archive/${version}.tar.gz"
2018-11-15 21:10:21 +01:00
checksum=d0afe88034577ecf06a825db1a5e8222d949a38d3b19c5ce002b90b66c403f67
2018-09-14 02:57:14 +02:00
post_install() {
sed -n '2,32p' < glslang/GenericCodeGen/CodeGen.cpp > LICENSE
vlicense LICENSE
}
2018-08-04 14:02:42 +02:00
glslang-devel_package() {
depends="glslang-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
}
}