void-packages/srcpkgs/VirtualGL/template
2016-10-30 17:16:17 +01:00

29 lines
917 B
Bash

# Template file for 'VirtualGL'
pkgname=VirtualGL
version=2.5.1
revision=1
build_style=cmake
configure_args="-DTJPEG_INCLUDE_DIR=/usr/include
-DTJPEG_LIBRARY=/usr/lib/libturbojpeg.so -DVGL_LIBDIR=/usr/lib
-DVGL_BINDIR=/usr/bin -DVGL_DOCDIR=/usr/share/doc/${pkgname}"
makedepends="libXv-devel glu-devel libjpeg-turbo-devel"
short_desc="Run remote OpenGL applications with full acceleration"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.virtualgl.org/"
license="LGPL-2.1"
distfiles="${SOURCEFORGE_SITE}/virtualgl/${version}/${pkgname}-${version}.tar.gz"
checksum=da342e0157257cd7b7c9c6705c7f2b9853f28f6bb6c51c90c710cc14257f3659
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
post_install() {
mv ${DESTDIR}/usr/bin/{glxinfo,vglxinfo}
}
VirtualGL-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
}
}