cmake: update to 3.22.2.
This commit is contained in:
parent
105de5a836
commit
34d9d2416e
1 changed files with 5 additions and 7 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'cmake'
|
# Template file for 'cmake'
|
||||||
pkgname=cmake
|
pkgname=cmake
|
||||||
version=3.22.1
|
version=3.22.2
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DCMAKE_DOC_DIR=/share/doc/cmake
|
configure_args="-DCMAKE_DOC_DIR=/share/doc/cmake
|
||||||
|
@ -16,18 +16,16 @@ maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
|
||||||
license="BSD-3-Clause, ICU"
|
license="BSD-3-Clause, ICU"
|
||||||
homepage="https://www.cmake.org"
|
homepage="https://www.cmake.org"
|
||||||
distfiles="https://www.cmake.org/files/v${version%.*}/${pkgname}-${version}.tar.gz"
|
distfiles="https://www.cmake.org/files/v${version%.*}/${pkgname}-${version}.tar.gz"
|
||||||
checksum=0e998229549d7b3f368703d20e248e7ee1f853910d42704aa87918c213ea82c0
|
checksum=3c1c478b9650b107d452c5bd545c72e2fad4e37c09b89a1984b9a2f46df6aced
|
||||||
replaces="cmake-bootstrap>=0"
|
replaces="cmake-bootstrap>=0"
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
|
||||||
hostmakedepends+=" cmake"
|
|
||||||
fi
|
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
local f
|
local f
|
||||||
[ ! "$CROSS_BUILD" ] || return 0
|
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
cd build
|
cd build
|
||||||
|
CC=$CC_FOR_BUILD CFLAGS="$CFLAGS_FOR_BUILD" \
|
||||||
|
CXX=$CXX_FOR_BUILD CXXFLAGS="$CXXFLAGS_FOR_BUILD" \
|
||||||
|
LD=$LD_FOR_BUILD LDFLAGS="$LDFLAGS_FOR_BUILD" \
|
||||||
../bootstrap --no-system-libs \
|
../bootstrap --no-system-libs \
|
||||||
--generator=Ninja \
|
--generator=Ninja \
|
||||||
${XBPS_MAKEJOBS:+--parallel=$XBPS_MAKEJOBS}
|
${XBPS_MAKEJOBS:+--parallel=$XBPS_MAKEJOBS}
|
||||||
|
|
Loading…
Reference in a new issue