# Depends on xcb-proto 1.9
# Depends on libxslt
# Depends on pkg-config
# Depends on libpthread-stubs
# Depends on libxau

# Exit on error:
set -e

wget http://xcb.freedesktop.org/dist/libxcb-1.9.3.tar.bz2
tar xf libxcb-1.9.3.tar.bz2
cd libxcb-1.9.3
# Fix "no suitable Python interpreter found" error:
export PYTHONHOME=/
./configure --prefix=/
make install
cd ..
rm -rf libxcb-1.9.3
rm libxcb-1.9.3.tar.bz2

exit 0
