summaryrefslogtreecommitdiff
path: root/repo/system/glew/glew.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/system/glew/glew.xibuild')
-rw-r--r--repo/system/glew/glew.xibuild20
1 files changed, 20 insertions, 0 deletions
diff --git a/repo/system/glew/glew.xibuild b/repo/system/glew/glew.xibuild
new file mode 100644
index 0000000..7ad27fe
--- /dev/null
+++ b/repo/system/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 PREFIX=/usr
+}
+
+package () {
+ mkdir -p $PKG_DEST/usr/lib64
+ make PREFIX=/usr DESTDIR=$PKG_DEST install
+}