diff --git a/srcpkgs/VirtualGL-devel b/srcpkgs/VirtualGL-devel new file mode 120000 index 0000000000..dc636e8a06 --- /dev/null +++ b/srcpkgs/VirtualGL-devel @@ -0,0 +1 @@ +VirtualGL \ No newline at end of file diff --git a/srcpkgs/VirtualGL/template b/srcpkgs/VirtualGL/template new file mode 100644 index 0000000000..e0f1f8b77a --- /dev/null +++ b/srcpkgs/VirtualGL/template @@ -0,0 +1,36 @@ +# Template file for 'VirtualGL' +pkgname=VirtualGL +version=2.3.2 +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="cmake libXv-devel glu-devel libjpeg-turbo-devel" +short_desc="Run remote OpenGL applications with full acceleration" +maintainer="davehome " +homepage="http://www.virtualgl.org/" +license="LGPL-2.1" +distfiles="${SOURCEFORGE_SITE}/virtualgl/${pkgname}/${version}/${pkgname}-${version}.tar.gz" +checksum=bee2abb3225bd1a607036a50e60e2652248d976afdbfcb096423648f1acc5418 +long_desc=" + Redirects the 3D rendering commands from Unix and Linux OpenGL applications to + 3D accelerator hardware in a dedicated server and displays the rendered output + interactively to a thin client located elsewhere on the network." + +post_install() { + cd ${DESTDIR}/usr/bin && mv glxinfo vglxinfo +} + +VirtualGL-devel_package() { + depends="VirtualGL>=${version}" + pkg_install() { + vmove usr/include + } +} + +VirtualGL_package() { + pkg_install() { + vmove all + } +}