aboutsummaryrefslogtreecommitdiff
path: root/extra/glib/build
blob: 60f19b1fbceaef09f6b2573324c4c3b15c3fb449 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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"