cmake: 3.22.2 -> 3.22.3

This commit is contained in:
Tim Biermann 2022-03-05 16:05:21 +01:00
parent 9fda6507f9
commit 90fddc528f
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 16 additions and 15 deletions

View File

@ -7,11 +7,6 @@ drwxr-xr-x root/root usr/bin/
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/aclocal/
-rw-r--r-- root/root usr/share/aclocal/cmake.m4
drwxr-xr-x root/root usr/share/bash-completion/
drwxr-xr-x root/root usr/share/bash-completion/completions/
-rw-r--r-- root/root usr/share/bash-completion/completions/cmake
-rw-r--r-- root/root usr/share/bash-completion/completions/cpack
-rw-r--r-- root/root usr/share/bash-completion/completions/ctest
lrwxrwxrwx root/root usr/share/cmake-3.22 -> cmake
drwxr-xr-x root/root usr/share/cmake/
drwxr-xr-x root/root usr/share/cmake/Modules/
@ -1161,9 +1156,6 @@ drwxr-xr-x root/root usr/share/cmake/Templates/Windows/
-rw-r--r-- root/root usr/share/cmake/Templates/Windows/Windows_TemporaryKey.pfx
drwxr-xr-x root/root usr/share/cmake/include/
-rw-r--r-- root/root usr/share/cmake/include/cmCPluginAPI.h
drwxr-xr-x root/root usr/share/emacs/
drwxr-xr-x root/root usr/share/emacs/site-lisp/
-rw-r--r-- root/root usr/share/emacs/site-lisp/cmake-mode.el
drwxr-xr-x root/root usr/share/vim/
drwxr-xr-x root/root usr/share/vim/vimfiles/
drwxr-xr-x root/root usr/share/vim/vimfiles/indent/

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/core.pub
RWRJc1FUaeVeqlSDXOmxZePYrdGWoXHn802YkNuFMk2Dsb/Z3+gwG/09FP+cSmA+6e39MDFqRjf4aw79TQddzXacbTB4fP8HdAk=
SHA256 (Pkgfile) = 6fa65f6c19da7e3e8a937a26cd56bc33f7bd0d75c0372b2240d9e8a3ae7894d6
SHA256 (.footprint) = 77255f3e01e14136358d738d9a3284d8148fce7e9da0255057fb289ab3d672f9
SHA256 (cmake-3.22.2.tar.gz) = 3c1c478b9650b107d452c5bd545c72e2fad4e37c09b89a1984b9a2f46df6aced
RWRJc1FUaeVeqsOPCFW1YuUmtYHw1eDpGpMZbJpBo9gtTqG8Yz32H0z5Ucqn4WHT5EA6UStJIgvvCA62iUweP3aRaaiH7GgJjAM=
SHA256 (Pkgfile) = af9d083e01aef11bb403ac059500e79f6eeebfeb38b878599ff68403863f8e48
SHA256 (.footprint) = 627497b50d18ea4762e29757975ae90037f538002667fa9d71509c6eec3d128c
SHA256 (cmake-3.22.3.tar.gz) = 9f8469166f94553b6978a16ee29227ec49a2eb5ceb608275dec40d8ae0d1b5a0

View File

@ -5,7 +5,7 @@
# Optional: python3-sphinx
name=cmake
version=3.22.2
version=3.22.3
release=1
source=(https://cmake.org/files/v${version%.*}/$name-$version.tar.gz)
@ -15,16 +15,25 @@ build() {
sed -i Source/CMakeInstallDestinations.cmake \
-e 's|share/cmake-${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}|share/cmake|'
./bootstrap --generator=Ninja \
prt-get isinst ccache && PKGMK_CMAKE+=' --enable-ccache'
./bootstrap --generator=Ninja $PKGMK_CMAKE \
--prefix=/usr \
--datadir=/share/cmake \
--bootstrap-system-libuv \
--bootstrap-system-jsoncpp \
--bootstrap-system-librhash \
--system-libs \
--parallel=${JOBS:-1} \
$(prt-get isinst python3-sphinx >/dev/null && echo --sphinx-man)
$(prt-get isinst python3-sphinx >/dev/null && echo --sphinx-man) \
-- -D CMake_BUILD_LTO=ON
ninja
DESTDIR=$PKG ninja install
rm -r $PKG/usr/{doc,share/cmake/Help}
ln -sf $name $PKG/usr/share/$name-${version%.*}
prt-get isinst bash-completion || rm -r $PKG/usr/share/bash-completion
rm -r $PKG/usr/share/emacs
}