pam: add library to staging target directory
[openadk.git] / package / cmake / Makefile
blobfc9e919f0b50dccaa30ca8de9a9da30390fefb7f
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.8.2
8 PKG_RELEASE:= 1
9 PKG_HASH:= da3072794eb4c09f2d782fcee043847b99bb4cf8d4573978d9b2024214d6e92d
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:= http://www.cmake.org/files/v3.8/
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)
30 host-build:
31 (cd ${WRKBUILD} && env ${HOST_MAKE_ENV} ${MAKE} -f ${MAKE_FILE} \
32 ${HOST_MAKE_FLAGS} ${HOST_ALL_TARGET}) $(MAKE_TRACE)
34 cmake-hostinstall:
35 cd ${WRKBUILD} && env ${HOST_MAKE_ENV} ${MAKE} -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