summaryrefslogtreecommitdiff
path: root/repo/system/glu
diff options
context:
space:
mode:
Diffstat (limited to 'repo/system/glu')
-rw-r--r--repo/system/glu/glu.xibuild24
1 files changed, 24 insertions, 0 deletions
diff --git a/repo/system/glu/glu.xibuild b/repo/system/glu/glu.xibuild
new file mode 100644
index 0000000..54249a7
--- /dev/null
+++ b/repo/system/glu/glu.xibuild
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+NAME="glu"
+DESC="Mesa OpenGL Utility library"
+
+MAKEDEPS="meson ninja "
+DEPS="mesa opengl"
+
+PKG_VER=9.0.2
+SOURCE="https://mesa.freedesktop.org/archive/glu/glu-$PKG_VER.tar.xz"
+
+build () {
+ mkdir build &&
+ cd build &&
+ meson --prefix=/usr \
+ -D default_library=shared \
+ -D gl_provider=osmesa \
+ .. &&
+ ninja
+}
+
+package () {
+ DESTDIR=$PKG_DEST ninja install
+}