void-packages/srcpkgs/VirtualGL/template
2019-10-03 19:34:10 +02:00

30 lines
957 B
Bash

# Template file for 'VirtualGL'
pkgname=VirtualGL
version=2.6.2
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="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="http://www.virtualgl.org/"
distfiles="${SOURCEFORGE_SITE}/virtualgl/${version}/${pkgname}-${version}.tar.gz"
checksum=79dff857862890215794509ac65826005625925d03bf0874a486d695aae6f859
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
}
}