summaryrefslogtreecommitdiffstats
path: root/extra/glew/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/glew/Pkgfile')
-rw-r--r--extra/glew/Pkgfile9
1 files changed, 6 insertions, 3 deletions
diff --git a/extra/glew/Pkgfile b/extra/glew/Pkgfile
index fe6ced907..f098a901e 100644
--- a/extra/glew/Pkgfile
+++ b/extra/glew/Pkgfile
@@ -2,16 +2,19 @@
# Maintainer: Diederick de Vries <diederick at diederickdevries dot net>
# Packager: thierryn1 at hispeed dot ch
# URL: http://glew.sourceforge.net/
-# depends: mesa3d
+# depends: mesa3d, xorg-libxmu, xorg-libxi
name=glew
-version=1.5.2
+version=1.5.5
release=1
source=(http://downloads.sourceforge.net/project/glew/glew/$version/$name-$version.tgz)
build() {
cd $name-$version
+ sed -i 's|lib64|lib|' config/Makefile.linux
+ install -dm755 $PKG/usr/lib/pkgconfig
+
make
- make GLEW_DEST=$PKG/usr install
+ make GLEW_DEST=$PKG/usr LIBDIR=$PKG/usr/lib install
}