1 # Contributor: Daniel Kirchner <mokaga@lavabit.com>
5 pkgdesc="An open file format for storing compressed triangle meshes."
6 url="http://openctm.sourceforge.net/"
9 depends=('gtk2' 'glut')
10 makedepends=('gcc' 'make')
11 source=('http://downloads.sourceforge.net/openctm/OpenCTM-1.0.3-src.tar.bz2')
12 md5sums=('55948e7c2ad8c5807cd1b9b48718075b')
15 cd $srcdir/OpenCTM-$pkgver
17 sed -i -e 's/-lglut/-lglut -lGLU/' tools/Makefile.linux
19 install -d $pkgdir/usr/{lib,include,bin,man/man1}
21 make LIBDIR=$pkgdir/usr/lib INCDIR=$pkgdir/usr/include BINDIR=$pkgdir/usr/bin MAN1DIR=$pkgdir/usr/share/man/man1 -f Makefile.linux
22 make LIBDIR=$pkgdir/usr/lib INCDIR=$pkgdir/usr/include BINDIR=$pkgdir/usr/bin MAN1DIR=$pkgdir/usr/share/man/man1 -f Makefile.linux install