1 # Maintained by: Thomas Zervogiannis <tzervo@gmail.com>
6 pkgdesc="A Tcl/Tk widget for OpenGL rendering."
7 depends=('tk' 'freeglut')
8 conflicts=('tk-togl-legacy-netgen')
11 url="http://togl.sourceforge.net"
12 source=(http://downloads.sourceforge.net/project/togl/Togl/$pkgver/Togl$pkgver-src.tar.gz)
14 md5sums=('64d385c59b8cb31b9d2c921d0cc37503')
17 cd $startdir/src/Togl$pkgver
18 sed -i '/tclInt.h/s/generic\///' ./configure
19 sed -i '/tkInt.h/s/generic\///' ./configure
20 ./configure --prefix=/usr
21 sed -i '/INCLUDES/s/\/generic/\/tk-private\/generic/' ./Makefile
22 make DESTDIR=$startdir/pkg install