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
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}))
28 (cd
$(WRKBUILD
); .
/configure
--prefix=${STAGING_HOST_DIR}/usr
--system-curl
--parallel
=${ADK_MAKE_JOBS} )
31 (cd
${WRKBUILD} && env
${HOST_MAKE_ENV} ${MAKE} -j
${ADK_MAKE_JOBS} -f
${MAKE_FILE} \
32 ${HOST_MAKE_FLAGS} ${HOST_ALL_TARGET}) $(MAKE_TRACE
)
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