void-packages/srcpkgs/VirtualGL/template

30 lines
900 B
Plaintext

# Template file for 'VirtualGL'
pkgname=VirtualGL
version=2.3.2
revision=2
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}"
hostmakedepends="cmake"
makedepends="libXv-devel glu-devel libjpeg-turbo-devel>=1.3.0_4"
short_desc="Run remote OpenGL applications with full acceleration"
maintainer="davehome <davehome@redthumb.info.tm>"
homepage="http://www.virtualgl.org/"
license="LGPL-2.1"
distfiles="${SOURCEFORGE_SITE}/virtualgl/${pkgname}/${version}/${pkgname}-${version}.tar.gz"
checksum=bee2abb3225bd1a607036a50e60e2652248d976afdbfcb096423648f1acc5418
post_install() {
cd ${DESTDIR}/usr/bin
mv glxinfo vglxinfo
}
VirtualGL-devel_package() {
depends="VirtualGL>=${version}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
}
}