From 4bc3630d19df37ede1a673715508da8e43c046a3 Mon Sep 17 00:00:00 2001 From: Bananymous Date: Sat, 28 Jun 2025 20:52:20 +0300 Subject: [PATCH] ports: Add glu port --- ports/glu/build.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 ports/glu/build.sh diff --git a/ports/glu/build.sh b/ports/glu/build.sh new file mode 100755 index 00000000..992cc819 --- /dev/null +++ b/ports/glu/build.sh @@ -0,0 +1,21 @@ +#!/bin/bash ../install.sh + +NAME='glu' +VERSION='9.0.3' +DOWNLOAD_URL="https://archive.mesa3d.org/glu/glu-$VERSION.tar.xz#bd43fe12f374b1192eb15fe20e45ff456b9bc26ab57f0eee919f96ca0f8a330f" +DEPENDENCIES=('mesa') +CONFIGURE_OPTIONS=( + '-Dprefix=/usr' +) + +configure() { + meson setup --reconfigure --cross-file "$MESON_CROSS_FILE" "${CONFIGURE_OPTIONS[@]}" build || exit 1 +} + +build() { + meson compile -C build || exit 1 +} + +install() { + meson install --destdir="$BANAN_SYSROOT" -C build || exit 1 +}