Makefile 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
  21. CONFIGURE_ENV+= PYTHON=$(PYTHON)
  22. libxcb-install:
  23. ${INSTALL_DIR} ${IDIR_LIBXCB}/usr/lib
  24. ${CP} ${WRKINST}/usr/lib/libxcb*.so* ${IDIR_LIBXCB}/usr/lib
  25. libxcb-dev-install:
  26. ${INSTALL_DIR} ${IDIR_LIBXCB_DEV}/usr/include
  27. ${CP} ${WRKINST}/usr/include/xcb ${IDIR_LIBXCB_DEV}/usr/include
  28. ${INSTALL_DIR} ${IDIR_LIBXCB_DEV}/usr/lib/pkgconfig
  29. ${CP} ${WRKINST}/usr/lib/pkgconfig/*.pc \
  30. ${IDIR_LIBXCB_DEV}/usr/lib/pkgconfig
  31. include ${TOPDIR}/mk/pkg-bottom.mk