Makefile 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(TOPDIR)/rules.mk
  4. PKG_NAME:= libxcb
  5. PKG_VERSION:= 1.7
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= f715e53c9c1b25f856d14d6123663d96
  8. PKG_DESCR:= X11 keyboard library
  9. PKG_SECTION:= x11/libs
  10. PKG_BUILDDEP:= python2 libpthread-stubs libxslt libXau xcb-proto
  11. PKG_SITES:= ${MASTER_SITE_XORG}
  12. PKG_SUBPKGS:= LIBXCB LIBXCB_DEV
  13. PKGSD_LIBXCB_DEV:= XML-XCB protocol headers
  14. PKGSS_LIBXCB_DEV:= libxcb
  15. PKGSC_LIBXCB_DEV:= x11/devel
  16. include $(TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,LIBXCB,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. $(eval $(call PKG_template,LIBXCB_DEV,${PKG_NAME}-dev,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_LIBXCB_DEV},${PKGSD_LIBXCB_DEV},${PKGSC_LIBXCB_DEV}))
  19. include $(TOPDIR)/mk/python.mk
  20. CONFIGURE_ENV+= PYTHON=$(PYTHON)
  21. libxcb-install:
  22. ${INSTALL_DIR} ${IDIR_LIBXCB}/usr/lib
  23. ${CP} ${WRKINST}/usr/lib/libxcb*.so* ${IDIR_LIBXCB}/usr/lib/
  24. libxcb-dev-install:
  25. ${INSTALL_DIR} ${IDIR_LIBXCB_DEV}/usr/include
  26. ${CP} ${WRKINST}/usr/include/xcb ${IDIR_LIBXCB_DEV}/usr/include
  27. ${INSTALL_DIR} ${IDIR_LIBXCB_DEV}/usr/lib/pkgconfig
  28. ${CP} ${WRKINST}/usr/lib/pkgconfig/*.pc \
  29. ${IDIR_LIBXCB_DEV}/usr/lib/pkgconfig
  30. include ${TOPDIR}/mk/pkg-bottom.mk