# Description: X client library # URL: http://xorg.freedesktop.org # Maintainer: Tilman Sauerbeck, tilman at crux dot nu # Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org # Depends on: xorg-libxcb xorg-xextproto xorg-xtrans org-kbproto xorg-inputproto name=xorg-libx11 version=1.3.2 release=2 source=(http://xorg.freedesktop.org/releases/individual/lib/libX11-$version.tar.bz2) build() { cd libX11-$version sed -i configure \ -e "s|KEYSYMDEF=.*|KEYSYMDEF=\"$CLFS/usr/include/X11/keysymdef.h\"|" export X11_LIBS="-L$CLFS/usr/lib -lpthread-stubs -lxcb " export X11_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions" export X11_CFLAGS="$X11_CFLAGS -I$CLFS/usr/include/X11/Xtrans" export XPROTO_LIBS="$X11_LIBS" export XPROTO_CFLAGS="$X11_CFLAGS" export XKBPROTO_LIBS="$X11_LIBS" export XKBPROTO_CFLAGS="$X11_CFLAGS" export XDMCP_LIBS="$X11_LIBS -lXdmcp" export XDMCP_CFLAGS="$X11_CFLAGS" ./configure --build=$CHOST \ --host=$CTARGET \ --prefix=/usr \ --mandir=/usr/man \ --enable-malloc0returnsnull make make DESTDIR=$PKG install rm -rf $PKG/usr/share/doc }