void-packages/srcpkgs/VirtualGL/template
2019-03-02 16:55:54 -03:00

30 lines
948 B
Bash

# Template file for 'VirtualGL'
pkgname=VirtualGL
version=2.6.1
revision=1
build_style=cmake
configure_args="-DTJPEG_INCLUDE_DIR=/usr/include -DVGL_SYSTEMGLX=ON
-DTJPEG_LIBRARY=/usr/lib/libturbojpeg.so -DCMAKE_INSTALL_LIBDIR=/usr/lib
-DVGL_SYSTEMFLTK=ON -DVGL_USESSL=ON"
makedepends="libXv-devel glu-devel libjpeg-turbo-devel MesaLib-devel
libXtst-devel fltk-devel libressl-devel"
short_desc="Run remote OpenGL applications with full acceleration"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="LGPL-2.1"
homepage="http://www.virtualgl.org/"
distfiles="${SOURCEFORGE_SITE}/virtualgl/${version}/${pkgname}-${version}.tar.gz"
checksum=8802989a565b077036007848a845943971f670d72dc89f502601dfd36d401f83
archs="i686* x86_64*"
post_install() {
mv ${DESTDIR}/usr/bin/{glxinfo,vglxinfo}
}
VirtualGL-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
}
}