void-packages/srcpkgs/VirtualGL/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

30 lines
904 B
Bash

# Template file for 'VirtualGL'
pkgname=VirtualGL
version=2.4
revision=1
lib32disabled=yes
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"
short_desc="Run remote OpenGL applications with full acceleration"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.virtualgl.org/"
license="LGPL-2.1"
distfiles="${SOURCEFORGE_SITE}/virtualgl/${version}/${pkgname}-${version}.tar.gz"
checksum=56c5169583eb18e9b5ccbaa5f17ebe6cd5365099d5ba5e431eecd7821a6ddefb
post_install() {
cd ${DESTDIR}/usr/bin
mv glxinfo vglxinfo
}
VirtualGL-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
}
}