# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(ADK_TOPDIR)/rules.mk

PKG_NAME:=		xcb-util
PKG_VERSION:=		0.3.6
PKG_RELEASE:=		1
PKG_HASH:=		ebb4064db813bfbfedfa30086483e73404f5358fab38698e584c195dc74bd609
PKG_DESCR:=		libraries which sit on top of libxcb
PKG_DEPENDS:=		libxcb
PKG_BUILDDEP:=		libxcb
PKG_SECTION:=		x11/libs
PKG_SITES:=		http://xcb.freedesktop.org/dist/

DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.gz

include $(ADK_TOPDIR)/mk/package.mk

$(eval $(call PKG_template,XCB_UTIL,xcb-util,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

xcb-util-install:
	$(INSTALL_DIR) $(IDIR_XCB_UTIL)/usr/lib
	$(CP) $(WRKINST)/usr/lib/libxcb-*.so* \
		$(IDIR_XCB_UTIL)/usr/lib

include ${ADK_TOPDIR}/mk/pkg-bottom.mk
