Makefile 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  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:= libXdamage
  5. PKG_VERSION:= 1.1.3
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 5e54789fd1c56392d38d29c6b8dad142
  8. PKG_DESCR:= X Window System client interface to the DAMAGE extension to the X protocol
  9. PKG_SECTION:= x11/libs
  10. PKG_BUILDDEP:= libXfixes damageproto
  11. PKG_SITES:= ${MASTER_SITE_XORG}
  12. PKG_SUBPKGS:= LIBXDAMAGE LIBXDAMAGE_DEV
  13. PKGSC_LIBXDAMAGE_DEV:= x11/devel
  14. PKGSD_LIBXDAMAGE_DEV:= DAMAGE extension headers
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,LIBXDAMAGE,libxdamage,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. $(eval $(call PKG_template,LIBXDAMAGE_DEV,libxdamage-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBXDAMAGE_DEV},${PKGSC_LIBXDAMAGE_DEV}))
  18. libxdamage-install:
  19. $(INSTALL_DIR) $(IDIR_LIBXDAMAGE)/usr/lib
  20. $(CP) $(WRKINST)/usr/lib/libXdamage*.so* \
  21. $(IDIR_LIBXDAMAGE)/usr/lib
  22. libxdamage-dev-install:
  23. $(INSTALL_DIR) $(IDIR_LIBXDAMAGE_DEV)/usr/include
  24. $(CP) $(WRKINST)/usr/include/* \
  25. $(IDIR_LIBXDAMAGE_DEV)/usr/include
  26. $(INSTALL_DIR) $(IDIR_LIBXDAMAGE_DEV)/usr/lib/pkgconfig
  27. $(INSTALL_DATA) $(WRKINST)/usr/lib/pkgconfig/*.pc \
  28. $(IDIR_LIBXDAMAGE_DEV)/usr/lib/pkgconfig
  29. include ${TOPDIR}/mk/pkg-bottom.mk