1 # Maintainer: josephgbr <rafael.f.f1 at gmail dot com>
7 pkgdesc="Legacy version of the OpenGL Extension Wrangler Library"
9 url="http://glew.sourceforge.net"
10 license=('BSD' 'MIT' 'GPL')
11 depends=('libxmu' 'libxi' 'mesa' 'glew')
12 source=(http://downloads.sourceforge.net/glew/glew-${pkgver}.tgz)
13 sha1sums=('450946935faa20ac4950cb42ff025be2c1f7c22e')
16 cd "${srcdir}/glew-${pkgver}"
17 sed -i 's|lib64|lib|' config/Makefile.linux
22 cd "${srcdir}/glew-${pkgver}"
24 # We want only libraries these two libraries
25 install -d -m 0755 $pkgdir/usr/lib
26 strip -x lib/libGLEW.so.1.5.8
27 install -m 0644 lib/libGLEW.so.1.5.8 $pkgdir/usr/lib/
28 ln -sf libGLEW.so.1.5.8 $pkgdir/usr/lib/libGLEW.so.1.5
29 chmod 0755 "${pkgdir}/usr/lib/libGLEW.so.${pkgver}"