2019-06-27 09:19:50 +00:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
2019-06-27 18:30:40 +00:00
|
|
|
patch -p1 < musl.patch
|
|
|
|
|
2019-06-27 18:25:37 +00:00
|
|
|
# Use autotools to build mesa.
|
|
|
|
# Meson has no ability to disable 'gettext'.
|
2019-06-27 18:20:52 +00:00
|
|
|
./configure \
|
2019-06-27 09:19:50 +00:00
|
|
|
--prefix=/usr \
|
2019-06-27 09:25:10 +00:00
|
|
|
--sysconfdir=/etc \
|
|
|
|
--mandir=/usr/share/man \
|
|
|
|
--localstatedir=/var \
|
2019-06-27 18:21:58 +00:00
|
|
|
--with-platforms=x11,drm \
|
|
|
|
--enable-autotools
|
2019-06-27 09:19:50 +00:00
|
|
|
|
2019-06-27 18:20:52 +00:00
|
|
|
make
|
|
|
|
make DESTDIR="$1" install
|