1
0

Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  13. PKG_CFLINE_CMAKE:= depends on ADK_HOST_ONLY
  14. include $(TOPDIR)/mk/host.mk
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call HOST_template,CMAKE,cmake,$(PKG_VERSION)-${PKG_RELEASE}))
  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. host-build:
  23. (cd ${WRKBUILD} && env ${HOST_MAKE_ENV} ${MAKE} -f ${MAKE_FILE} \
  24. ${HOST_MAKE_FLAGS} ${HOST_ALL_TARGET})
  25. cmake-hostinstall:
  26. $(INSTALL_BIN) $(WRKBUILD)/bin/cmake \
  27. $(STAGING_HOST_DIR)/usr/bin
  28. include ${TOPDIR}/mk/host-bottom.mk
  29. include ${TOPDIR}/mk/pkg-bottom.mk