Files
banan-os/ports/glu/build.sh
Bananymous bb170ba613 ports: Allow build scripts install to custom path
This will maybe allow packaging ports :)
2026-05-26 03:31:20 +03:00

22 lines
482 B
Bash
Executable File

#!/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="$DESTDIR" -C build || exit 1
}