summaryrefslogtreecommitdiff
path: root/repo/system/glew/glew.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-04 23:52:30 +0100
committerdavidovski <david@davidovski.xyz>2022-05-04 23:52:30 +0100
commit739c65c54cb0e957df5e9b76f93fb02554e5cac3 (patch)
tree09ddfa0a342f3ea9de136cb50abdd79821bf1b53 /repo/system/glew/glew.xibuild
parent4c585ad54388285500fd18a6aaa516894e0f2c16 (diff)
moved everything to new file formatting
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
+}