Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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:= cmake
  5. PKG_VERSION:= 2.8.12
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 105bc6d21cc2e9b6aff901e43c53afea
  8. PKG_DESCR:= cmake utility
  9. PKG_SECTION:= lang
  10. PKG_URL:= http://www.cmake.org/
  11. PKG_SITES:= http://www.cmake.org/files/v2.8/
  12. PKG_TARGET_DEPENDS:= native
  13. include $(TOPDIR)/mk/host.mk
  14. include $(TOPDIR)/mk/package.mk
  15. $(eval $(call HOST_template,CMAKE,cmake,$(PKG_VERSION)-${PKG_RELEASE}))
  16. $(eval $(call PKG_template,CMAKE,cmake,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. HOST_STYLE:= manual
  18. CONFIG_STYLE:= manual
  19. XAKE_FLAGS+= GCC_HONOUR_COPTS=s
  20. host-configure:
  21. (cd $(WRKBUILD); ./configure --prefix=/usr)
  22. cmake-hostinstall:
  23. $(INSTALL_BIN) $(WRKBUILD)/bin/cmake \
  24. $(STAGING_HOST_DIR)/usr/bin
  25. do-configure:
  26. (cd $(WRKBUILD); ./configure --prefix=/usr)
  27. cmake-install:
  28. $(INSTALL_DIR) $(IDIR_CMAKE)/usr/bin
  29. $(INSTALL_BIN) $(WRKINST)/usr/bin/cmake \
  30. $(IDIR_CMAKE)/usr/bin
  31. include ${TOPDIR}/mk/host-bottom.mk
  32. include ${TOPDIR}/mk/pkg-bottom.mk