1 # Description: XCB utilities library
2 # URL: http://xcb.freedesktop.org
3 # Maintainer: Tilman Sauerbeck, tilman at crux dot nu
4 # Arch Maintainer: CRUX-ARM System Team, devel@crux-arm.nu
5 # Depends on: xorg-libxcb gperf
10 source=(http://xcb.freedesktop.org/dist/xcb-util-$version.tar.bz2)
14 export XCB_LIBS="-L$CLFS/usr/lib -lxcb"
15 export XCB_CFLAGS="-I$CLFS/usr/include"
16 export XPROTO_LIBS="-L$CLFS/usr/lib"
17 export XPROTO_CFLAGS="-I$CLFS/usr/include"
18 export XCB_SHM_LIBS="-L$CLFS/usr/lib -lxcb-shm"
19 export XCB_SHM_CFLAGS="-I$CLFS/usr/include"
20 export XCB_RENDER_LIBS="-L$CLFS/usr/lib -lxcb-render"
21 export XCB_RENDER_CFLAGS="-I$CLFS/usr/include"
23 sed -e 's|`$PKG_CONFIG --variable=xcbproto_version xcb`|1.6|g' -i configure
24 ./configure --build=$CHOST \
29 make DESTDIR=$PKG install