void-packages/srcpkgs/virglrenderer/template

28 lines
719 B
Bash

# Template file for 'virglrenderer'
pkgname=virglrenderer
version=0.7.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.org>"
license="MIT"
homepage="https://virgil3d.github.io/"
distfiles="${FREEDESKTOP_SITE}/virgl/${pkgname}-${version}.tar.bz2"
checksum=15ec0290ca0a2d175d6e5dc695938640c53d2c020e0c0f8a781045d3c27b2a10
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
}
}