mirror of
https://codeberg.org/kiss-community/repo
synced 2024-12-25 00:30:06 -07:00
23 lines
538 B
Bash
Executable File
23 lines
538 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
export CFLAGS="$CFLAGS -UGDK_PIXBUF_DISABLE_DEPRECATED"
|
|
|
|
# Don't build GTK examples/demos/testsuite.
|
|
sed -i 's/modules demos tests/modules/' Makefile.am Makefile.in
|
|
sed -i 's/docs m4macros/m4macros/' Makefile.am Makefile.in
|
|
|
|
./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"
|