forked from ports/compat-32
25 lines
530 B
Plaintext
25 lines
530 B
Plaintext
# Description: Mesa OpenGL Utility library
|
|
# URL: https://www.mesa3d.org/
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
# Depends on: glu mesa-32
|
|
|
|
name=glu-32
|
|
version=9.0.3
|
|
release=1
|
|
source=(https://mesa.freedesktop.org/archive/glu/glu-$version.tar.xz)
|
|
|
|
build() {
|
|
meson build glu-$version \
|
|
--prefix /usr \
|
|
--libdir lib32 \
|
|
--wrap-mode nodownload \
|
|
-D b_lto=true \
|
|
-D b_pie=true \
|
|
-D default_library=shared
|
|
|
|
meson compile -C build
|
|
DESTDIR=$PKG meson install -C build
|
|
|
|
rm -rf $PKG/usr/include
|
|
}
|