summaryrefslogtreecommitdiff
path: root/repo/glew/glew.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/glew/glew.xibuild')
-rw-r--r--repo/glew/glew.xibuild20
1 files changed, 20 insertions, 0 deletions
diff --git a/repo/glew/glew.xibuild b/repo/glew/glew.xibuild
new file mode 100644
index 0000000..fcace5f
--- /dev/null
+++ b/repo/glew/glew.xibuild
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+NAME="glew"
+DESC="A cross-platform C/C++ extension loading library"
+
+MAKEDEPS="make "
+DEPS="libxmu libxi mesa glu"
+
+PKG_VER=2.2.0
+SOURCE="https://downloads.sourceforge.net/glew/glew-$PKG_VER.tgz"
+ADDITIONAL="glew.patch "
+
+build () {
+ make GLEW_DEST=$PKG_DEST
+}
+
+package () {
+ make GLEW_DEST=$PKG_DEST/usr install
+ mv $PKG_DEST/usr/lib64/* $PKG_DEST/usr/lib/
+}