hblock: bump to 3.4.0
[kiss-trunc88.git] / gtk+2 / build
blobc84d0dc0b018cf188dbae61a848ee342b8b8b984
1 #!/bin/sh -e
3 export CFLAGS="$CFLAGS -UGDK_PIXBUF_DISABLE_DEPRECATED"
5 # Don't build GTK examples/demos/testsuite.
6 sed -i 's/modules demos tests/modules/' Makefile.am Makefile.in
7 sed -i 's/docs m4macros/m4macros/' Makefile.am Makefile.in
9 ./configure \
10 --prefix=/usr \
11 --sysconfdir=/etc \
12 --localstatedir=/var \
13 --enable-debug=no \
14 --disable-gtk-doc \
15 --enable-gtk-doc-html=no \
16 --disable-glibtest \
17 --disable-cups \
18 --disable-papi \
19 --with-xinput=yes \
20 --enable-xinerama=no \
21 --enable-introspection=no
23 make
24 make DESTDIR="$1" install
26 rm -f "$1/usr/bin/gtk-update-icon-cache"
27 rm -f "$1/usr/bin/gtk-demo"
28 rm -rf "$1/usr/share/gtk-2.0/demo"