summaryrefslogtreecommitdiff
path: root/repo/system/glm.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/glm.xibuild
parent4c585ad54388285500fd18a6aaa516894e0f2c16 (diff)
moved everything to new file formatting
Diffstat (limited to 'repo/system/glm.xibuild')
-rw-r--r--repo/system/glm.xibuild35
1 files changed, 0 insertions, 35 deletions
diff --git a/repo/system/glm.xibuild b/repo/system/glm.xibuild
deleted file mode 100644
index cd918c3..0000000
--- a/repo/system/glm.xibuild
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/sh
-
-NAME="glm"
-DESC="C++ mathematics library for graphics programming"
-
-MAKEDEPS="cmake "
-DEPS="musl "
-
-PKG_VER=0.9.9.8
-SOURCE="https://github.com/g-truc/glm/archive/refs/tags/$PKG_VER/glm-$PKG_VER.tar.gz"
-ADDITIONAL="
-fix-endian-test.patch
-glm.pc
-"
-
-build () {
- cmake -B build -G Ninja \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=/usr/lib \
- -DBUILD_SHARED_LIBS=True \
- -DBUILD_STATIC_LIBS=OFF
- cmake --build build
-}
-
-package () {
-
- mkdir -p $PKG_DEST/usr/include/
- cp -r glm $PKG_DEST/usr/include/
-
- mkdir -p $PKG_DEST/usr/share/doc/
- cp -r doc $PKG_DEST/usr/share/doc/glm
-
- mkdir -p $PKG_DEST/usr/lib/pkgconfig
- cp glm.pc $PKG_DEST/usr/lib/pkgconfig/
-}