Makefile 997 B

1234567891011121314151617181920212223242526272829303132333435363738
  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_CFLINE_CMAKE:= depends on ADK_HOST_ONLY
  13. include $(TOPDIR)/mk/host.mk
  14. include $(TOPDIR)/mk/package.mk
  15. $(eval $(call HOST_template,CMAKE,cmake,$(PKG_VERSION)-${PKG_RELEASE}))
  16. HOST_STYLE:= manual
  17. CONFIG_STYLE:= manual
  18. XAKE_FLAGS+= GCC_HONOUR_COPTS=s
  19. host-configure:
  20. (cd $(WRKBUILD); ./configure --prefix=/usr)
  21. host-build:
  22. (cd ${WRKBUILD} && env ${HOST_MAKE_ENV} ${MAKE} -f ${MAKE_FILE} \
  23. ${HOST_MAKE_FLAGS} ${HOST_ALL_TARGET})
  24. cmake-hostinstall:
  25. $(INSTALL_BIN) $(WRKBUILD)/bin/cmake \
  26. $(STAGING_HOST_DIR)/usr/bin
  27. include ${TOPDIR}/mk/host-bottom.mk
  28. include ${TOPDIR}/mk/pkg-bottom.mk