Source: qglviewer
Section: graphics
Priority: optional
Maintainer: Johannes Hirche <jhirche@debian.org>
Standards-Version: 3.6.1
Major-Changes: nothing really
Upstream-Source: <URL:http://www.qglviewer.de/qglviewer-1.4.tar.gz>
Home-Page: <URL:http://www.qglviewer.de>
Build-depends: libqt3-mt, libqt3-mt-dev, libgl1-mesa-dev | libgl-dev, automake1.7, libtool, doxygen, qt3-dev-tools, libqt3-compat-headers
Description: A qt/opengl-based viewing widget
Origin: debian
Copyright: GPL
 This software is copyright (c) 1999,2000,2001,2002,2003 by Markus Janich, Michael Meissner, Rainer Jaeger, Richard Guenther, Johannes Hirche
Build: sh
 aclocal
 ./configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --with-qt=/usr/share/qt3
 CC=gcc
 CFLAGS="-Wall -O2"
 if [ "${DEB_BUILD_OPTIONS#*debug}" != "$DEB_BUILD_OPTIONS" ]; then
     CFLAGS="$CFLAGS -g"
 fi
 make CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" CC="$CC"
 yada fixup libtool
Clean: sh
 make distclean || make clean || true

Package: libqglviewer1
Architecture: any
Depends: libqt3-mt, libgl1-mesa-dev | libgl
Suggests: libqglviewer-dev
Contains-Libs:
Description: A qt/opengl-based viewing widget
 QGLViewer addresses people programming in OpenGL to play around with
 three dimensional scenes or to write software that uses OpenGL.  It
 provides a set of classes for camera control, as well as comfortable
 user interface that allows you to control your viewing parameters via
 mouse and buttons. QGLViewer is object oriented and programmed in C++
 such that the programmer simply instantiates such a viewer and
 connects it to the own render routines.
Install: sh
 (cd src; make install DESTDIR=$ROOT)
 rm -f $ROOT/usr/lib/libqglviewer.a
 rm -f $ROOT/usr/lib/libqglviewer.la
 rm -f $ROOT/usr/lib/libqglviewer.so
 rm -rf $ROOT/usr/include/qglviewer
 yada strip $ROOT/usr/lib/libqglviewer.so.*
 yada install -doc README
 yada makeshlibs
 yada shlibdeps
Finalise: sh
 chmod a-x $ROOT/usr/lib/*

Package: libqglviewer-dev
Architecture: any
Depends: libqglviewer1, libqt3-mt-dev, libqt3-compat-headers, qt3-dev-tools
Doc-Depends: libqglviewer1
Description: A qt/OpenGL-based viewing widget
 The header files and documentation necessary for development 
 with the QGLViewer Package.
Install: sh
 (cd doc/html;make index.html)
 yada install -doc doc/html/*.html doc/html/*.css doc/html/*.png -subdir html
 yada install include/*.h include/*.cpp -into /usr/include/qglviewer
 (cd src; make install DESTDIR=$ROOT)
 rm -f $ROOT/usr/lib/libqglviewer.so.*
 (cd examples; make clean)
 tar -cvf examples.tar --exclude "CVS" --exclude ".deps" --exclude "Makefile.in" --exclude "Makefile.am" ./examples
 yada install -doc examples.tar
 rm -f examples.tar
Finalise: sh
 chmod a-x $ROOT/usr/lib/*.la
