aboutsummaryrefslogtreecommitdiff
path: root/extra/gtk+2/build
blob: 7bb2318bc14b5974085b3ef28aeceaeee86e1173 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh -e

export CFLAGS="$CFLAGS -UGDK_PIXBUF_DISABLE_DEPRECATED"

./configure \
    --prefix=/usr \
    --sysconfdir=/etc \
    --localstatedir=/var \
    --enable-debug=no \
    --disable-gtk-doc \
    --with-xinput=yes

make
make DESTDIR="$1" install

rm -f  "$1/usr/bin/gtk-update-icon-cache"
rm -f  "$1/usr/bin/gtk-demo"
rm -rf "$1/usr/share/gtk-2.0/demo"