# Description: XCB utilities library # URL: http://xcb.freedesktop.org # Maintainer: Tilman Sauerbeck, tilman at crux dot nu # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu # Depends on: xorg-libxcb gperf name=xorg-xcb-util version=0.3.6 release=1 source=(http://xcb.freedesktop.org/dist/xcb-util-$version.tar.bz2) build() { cd xcb-util-$version export XCB_LIBS="-L$CLFS/usr/lib -lxcb" export XCB_CFLAGS="-I$CLFS/usr/include" export XPROTO_LIBS="-L$CLFS/usr/lib" export XPROTO_CFLAGS="-I$CLFS/usr/include" export XCB_SHM_LIBS="-L$CLFS/usr/lib -lxcb-shm" export XCB_SHM_CFLAGS="-I$CLFS/usr/include" export XCB_RENDER_LIBS="-L$CLFS/usr/lib -lxcb-render" export XCB_RENDER_CFLAGS="-I$CLFS/usr/include" sed -e 's|`$PKG_CONFIG --variable=xcbproto_version xcb`|1.6|g' -i configure ./configure --build=$CHOST \ --host=$CTARGET \ --prefix=/usr make make DESTDIR=$PKG install }