1 # Contributor: ice-man <icemanf@gmail.com>
5 pkgdesc="GLUI is a GLUT-based C++ user interface library which provides controls such as buttons, checkboxes, radio buttons, and spinners to OpenGL applications"
6 makedepends=('freeglut')
8 source=("http://downloads.sourceforge.net/glui/glui-2.36.tgz")
9 url="http://glui.sourceforge.net/"
11 md5sums=('9e8d506af9a9428dac09e8cd7bda7c1e')
15 cd ${startdir}/src/${pkgname}-${pkgver}/src
17 echo -e "\nPATCHING MAKEFILE\n-------------------------------"
19 patch -p0 < ../../../makefile.patch > /dev/null
20 echo -e "makefile.patch applied\n"
23 make lib/libglui.a || exit 0
25 mkdir -p $startdir/pkg/usr/lib/
26 mkdir -p $startdir/pkg/usr/include/
27 mkdir -p $startdir/pkg/share/doc/glui-2.35/
29 cp lib/libglui.a $startdir/pkg/usr/lib/
30 cp include/GL/glui.h $startdir/pkg/usr/include/
31 cp doc/glui_manual.pdf $startdir/pkg/share/doc/glui-2.35/