# fss-0002
# This package creates xml files that then need to be converted to header files by libxcb via Python
# Python is not to be on the system, nor should the xml files
# Therefore this is just a dummy package and is treated as such

main:
  cp -v ${PR}xcb-proto.pc ${TC}lib/pkgconfig/
  sed -i -e "s|REPLACE_ME_XCB_PROTO_VERSION|$version|g" ${TC}lib/pkgconfig/xcb-proto.pc


generate:
  #./configure PATH=$PATH:/python/bin $CONF
  ./configure $CONF $TARGET
  make prefix=$TC install
  mkdir -vp /share/xcb/
  cp -v src/{xcb.xsd,*.xml} /share/xcb/
