void-packages/srcpkgs/virglrenderer/template

28 lines
735 B
Bash
Raw Normal View History

2016-05-12 16:03:01 +00:00
# Template file for 'virglrenderer'
pkgname=virglrenderer
version=0.5.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="https://www.freedesktop.org/software/virgl/${pkgname}-${version}.tar.bz2"
checksum=a1955a3433b6a51c3ee5def007b1973da22807b91437a2dbcdf664bf2c9240b6
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
}
}