Makefile 1.1 KB

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 $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= cmake
  5. PKG_VERSION:= 3.1.0
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 8bdc3fa3f2da81bc10c772a6b64cc9052acc2901d42e1e1b2588b40df224aad9
  8. PKG_DESCR:= cmake utility
  9. PKG_SECTION:= dev/tools
  10. PKG_URL:= http://www.cmake.org/
  11. PKG_SITES:= http://www.cmake.org/files/v3.1/
  12. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  13. PKG_CFLINE_CMAKE:= depends on ADK_HOST_ONLY
  14. include $(ADK_TOPDIR)/mk/host.mk
  15. include $(ADK_TOPDIR)/mk/package.mk
  16. $(eval $(call HOST_template,CMAKE,cmake,$(PKG_VERSION)-${PKG_RELEASE}))
  17. HOST_STYLE:= manual
  18. host-configure:
  19. (cd $(WRKBUILD); ./configure --prefix=${STAGING_HOST_DIR}/usr )
  20. host-build:
  21. (cd ${WRKBUILD} && env ${HOST_MAKE_ENV} ${MAKE} -f ${MAKE_FILE} \
  22. ${HOST_MAKE_FLAGS} ${HOST_ALL_TARGET}) $(MAKE_TRACE)
  23. cmake-hostinstall:
  24. cd ${WRKBUILD} && env ${HOST_MAKE_ENV} ${MAKE} -f ${MAKE_FILE} \
  25. ${HOST_FAKE_FLAGS} ${HOST_INSTALL_TARGET} $(MAKE_TRACE)
  26. include ${ADK_TOPDIR}/mk/host-bottom.mk
  27. include ${ADK_TOPDIR}/mk/pkg-bottom.mk