1 # Description: X client library
2 # URL: http://xorg.freedesktop.org
3 # Maintainer: Tilman Sauerbeck, tilman at crux dot nu
4 # Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
5 # Depends on: xorg-libxcb xorg-xextproto xorg-xtrans org-kbproto xorg-inputproto
10 source=(http://xorg.freedesktop.org/releases/individual/lib/libX11-$version.tar.bz2)
16 -e "s|KEYSYMDEF=.*|KEYSYMDEF=\"$CLFS/usr/include/X11/keysymdef.h\"|"
18 export X11_LIBS="-L$CLFS/usr/lib -lpthread-stubs"
19 export X11_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions"
20 export XPROTO_LIBS="$X11_LIBS"
21 export XPROTO_CFLAGS="$X11_CFLAGS"
22 export XKBPROTO_LIBS="$X11_LIBS"
23 export XKBPROTO_CFLAGS="$X11_CFLAGS"
24 export XDMCP_LIBS="$X11_LIBS"
25 export XDMCP_CFLAGS="$X11_CFLAGS"
27 ./configure --build=$CHOST \
31 --enable-malloc0returnsnull
34 make DESTDIR=$PKG install
36 rm -rf $PKG/usr/share/doc