Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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_DEVEL
  13. PKGSD_LIBXCB_DEVEL:= XML-XCB protocol headers
  14. PKGSS_LIBXCB_DEVEL:= libxcb
  15. PKGSC_LIBXCB_DEVEL:= 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_DEVEL,${PKG_NAME}-devel,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_LIBXCB_DEVEL},${PKGSD_LIBXCB_DEVEL},${PKGSC_LIBXCB_DEVEL}))
  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-devel-install:
  25. ${INSTALL_DIR} ${IDIR_LIBXCB_DEVEL}/usr/include
  26. ${CP} ${WRKINST}/usr/include/xcb ${IDIR_LIBXCB_DEVEL}/usr/include
  27. include ${TOPDIR}/mk/pkg-bottom.mk