summaryrefslogtreecommitdiff
path: root/repo/system/glu.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-01 21:21:05 +0000
committerdavidovski <david@davidovski.xyz>2022-05-01 21:21:05 +0000
commit606bc59d0f8f67815c6a717843835477d44db6b3 (patch)
tree687b3fe5bc844b90a3841e1ea543aa9f9934a93a /repo/system/glu.xibuild
parent1084afc3c4d9c83e61620de60ba59a4393a33cb0 (diff)
added ungoogled chromium
Diffstat (limited to 'repo/system/glu.xibuild')
-rw-r--r--repo/system/glu.xibuild24
1 files changed, 24 insertions, 0 deletions
diff --git a/repo/system/glu.xibuild b/repo/system/glu.xibuild
new file mode 100644
index 0000000..54249a7
--- /dev/null
+++ b/repo/system/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
+}