diff options
author | davidovski <david@davidovski.xyz> | 2022-06-27 23:09:07 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-06-27 23:09:07 +0100 |
commit | f6332a43c35387c4a2dea1746be5fd092890ae0e (patch) | |
tree | d6599f63de04096f3fc21a98e0b3bb39d55a3531 /repo/glfw | |
parent | f13e0cac13f90f7f57bce3b26b2e6383de6e4ad2 (diff) |
added lf and iptables
Diffstat (limited to 'repo/glfw')
-rw-r--r-- | repo/glfw/glfw.xibuild | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/repo/glfw/glfw.xibuild b/repo/glfw/glfw.xibuild new file mode 100644 index 0000000..ad49e63 --- /dev/null +++ b/repo/glfw/glfw.xibuild @@ -0,0 +1,23 @@ +#!/bin/sh + +NAME="glfw" +DESC="Multi-platform library for OpenGL and Vulkan application development" + +MAKEDEPS="libxinerama linux-headers mesa cmake ninja libx11 libxcursor libxrandr libxi" + +PKG_VER=3.3.7 +SOURCE="https://github.com/glfw/glfw/releases/download/$PKG_VER/glfw-$PKG_VER.zip" + +build() { + cmake -G Ninja -B build \ + -DCMAKE_BUILD_TYPE=MinSizeRel \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_SHARED_LIBS=ON + cmake --build build +} + +package() { + DESTDIR="$PKG_DEST" cmake --install build +} + |