Makefile 1006 B

12345678910111213141516171819202122232425262728293031
  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:= libICE
  5. PKG_VERSION:= 1.0.8
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 4b8dae73fce37e994c3a6fa05d6db7ca
  8. PKG_DESCR:= Inter-Client Exchange library
  9. PKG_SECTION:= x11/libs
  10. PKG_BUILDDEP:= xtrans-host xtrans xproto-host xproto libICE-host
  11. PKG_SITES:= ${MASTER_SITE_XORG}
  12. PKG_LIBNAME:= libice
  13. PKG_OPTS:= dev
  14. include $(TOPDIR)/mk/host.mk
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call HOST_template,LIBICE,libice,$(PKG_VERSION)-${PKG_RELEASE}))
  17. $(eval $(call PKG_template,LIBICE,libice,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  18. HOST_STYLE:= auto
  19. TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
  20. libice-install:
  21. ${INSTALL_DIR} ${IDIR_LIBICE}/usr/lib
  22. ${CP} ${WRKINST}/usr/lib/libICE.so* ${IDIR_LIBICE}/usr/lib
  23. include ${TOPDIR}/mk/host-bottom.mk
  24. include ${TOPDIR}/mk/pkg-bottom.mk