imgtec-ci20: genimage config/ u-boot env
[openadk.git] / package / libxcb / Makefile
blob5dbd1b4b50218da1596d4f53df9a50841318ae3f
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= libxcb
7 PKG_VERSION:= 1.16
8 PKG_RELEASE:= 1
9 PKG_HASH:= bc0f75f84b28e6496a19a1d094d7e47def861a50cb7cce5b23b62eecdc2a4479
10 PKG_DESCR:= interface to the x window system protocol
11 PKG_SECTION:= x11/libs
12 PKG_BUILDDEP:= python3 libpthread-stubs libxslt libXau xcb-proto
13 HOST_BUILDDEP:= libXau-host libpthread-stubs-host xcb-proto-host
14 PKG_SITES:= http://xcb.freedesktop.org/dist/
15 PKG_OPTS:= dev
17 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
19 include $(ADK_TOPDIR)/mk/host.mk
20 include $(ADK_TOPDIR)/mk/package.mk
22 $(eval $(call HOST_template,LIBXCB,libxcb,${PKG_VERSION}-${PKG_RELEASE}))
23 $(eval $(call PKG_template,LIBXCB,libxcb,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
25 include $(ADK_TOPDIR)/mk/python3.mk
27 HOST_STYLE:= auto
28 CONFIGURE_ENV+= PYTHONPATH=$(PYTHON) PYTHON=python3
30 libxcb-install:
31 ${INSTALL_DIR} ${IDIR_LIBXCB}/usr/lib
32 ${CP} ${WRKINST}/usr/lib/libxcb*.so* ${IDIR_LIBXCB}/usr/lib
34 include ${ADK_TOPDIR}/mk/host-bottom.mk
35 include ${ADK_TOPDIR}/mk/pkg-bottom.mk