Makefile 861 B

1234567891011121314151617181920212223242526272829303132333435
  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.4
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 209b7d1d04b2e00986538d74ba764fcf
  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_SYSTEM_DEPENDS:= native
  13. include $(TOPDIR)/mk/package.mk
  14. $(eval $(call PKG_template,CMAKE,cmake,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIG_STYLE:= manual
  16. XAKE_FLAGS+= GCC_HONOUR_COPTS=s
  17. pre-configure:
  18. (cd $(WRKBUILD); ./configure -prefix=/usr)
  19. do-configure:
  20. cmake-install:
  21. $(INSTALL_DIR) $(IDIR_CMAKE)/usr/bin
  22. $(INSTALL_BIN) $(WRKINST)/usr/bin/cmake \
  23. $(IDIR_CMAKE)/usr/bin
  24. include ${TOPDIR}/mk/pkg-bottom.mk