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
12 --localstatedir=/var \
15 --enable-gtk-doc-html=no \
20 --enable-xinerama=no \
21 --enable-introspection=no
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"