diff options
Diffstat (limited to 'extra/glib/build')
-rwxr-xr-x | extra/glib/build | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/extra/glib/build b/extra/glib/build new file mode 100755 index 00000000..60f19b1f --- /dev/null +++ b/extra/glib/build @@ -0,0 +1,18 @@ +#!/bin/sh -e + +export DESTDIR="$1" + +# Remove 'libelf' dependency. +sed -i 's/if have_libelf/if not have_libelf/' gio/meson.build + +meson \ + --prefix=/usr \ + -Dman=false \ + -Dfam=false \ + . build + +ninja -C build +ninja -C build install + +# Purge gdbus. +rm -rf "$1/usr/bin/gdbus" |