binutils: update to 2.43.1
[openadk.git] / package / cmake / Makefile
blob9ad0a74a3fa60b3af08cda68fc588e9d08fa172e
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= cmake
7 PKG_VERSION:= 3.21.3
8 PKG_RELEASE:= 1
9 PKG_HASH:= d14d06df4265134ee42c4d50f5a60cb8b471b7b6a47da8e5d914d49dd783794f
10 PKG_DESCR:= build utility
11 PKG_SECTION:= dev/tools
12 HOST_BUILDDEP:= curl-host
13 PKG_URL:= http://www.cmake.org/
14 PKG_SITES:= https://github.com/Kitware/CMake/releases/download/v3.21.3/
16 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
18 PKG_CFLINE_CMAKE:= depends on ADK_HOST_ONLY
20 include $(ADK_TOPDIR)/mk/host.mk
21 include $(ADK_TOPDIR)/mk/package.mk
23 $(eval $(call HOST_template,CMAKE,cmake,$(PKG_VERSION)-${PKG_RELEASE}))
25 HOST_STYLE:= manual
27 host-configure:
28 (cd $(WRKBUILD); ./configure --prefix=${STAGING_HOST_DIR}/usr --system-curl --parallel=${ADK_MAKE_JOBS} )
30 host-build:
31 (cd ${WRKBUILD} && env ${HOST_MAKE_ENV} ${MAKE} -j${ADK_MAKE_JOBS} -f ${MAKE_FILE} \
32 ${HOST_MAKE_FLAGS} ${HOST_ALL_TARGET}) $(MAKE_TRACE)
34 cmake-hostinstall:
35 cd ${WRKBUILD} && env ${HOST_MAKE_ENV} ${MAKE} -j${ADK_MAKE_JOBS} -f ${MAKE_FILE} \
36 ${HOST_FAKE_FLAGS} ${HOST_INSTALL_TARGET} $(MAKE_TRACE)
38 include ${ADK_TOPDIR}/mk/host-bottom.mk
39 include ${ADK_TOPDIR}/mk/pkg-bottom.mk