1
0

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.0.2
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 6b4ea61eadbbd9bec0ccb383c29d1f4496eacc121ef7acf37c7a24777805693e
  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.0/
  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