void-packages/srcpkgs/virglrenderer/template

28 lines
718 B
Bash

# Template file for 'virglrenderer'
pkgname=virglrenderer
version=0.6.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libepoxy-devel MesaLib-devel"
short_desc="virgl GL renderer library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="https://virgil3d.github.io/"
distfiles="${FREEDESKTOP_SITE}/virgl/${pkgname}-${version}.tar.bz2"
checksum=a549e351e0eb2ad1df471386ddcf85f522e7202808d1616ee9ff894209066e1a
post_install() {
vlicense COPYING
}
virglrenderer-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}