mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
cmake: update to 3.24.1.
This commit is contained in:
parent
6b860b88a3
commit
df604a8835
1 changed files with 8 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'cmake'
|
# Template file for 'cmake'
|
||||||
pkgname=cmake
|
pkgname=cmake
|
||||||
version=3.22.2
|
version=3.24.1
|
||||||
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,7 +16,7 @@ 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=3c1c478b9650b107d452c5bd545c72e2fad4e37c09b89a1984b9a2f46df6aced
|
checksum=4931e277a4db1a805f13baa7013a7757a0cbfe5b7932882925c7061d9d1fa82b
|
||||||
replaces="cmake-bootstrap>=0"
|
replaces="cmake-bootstrap>=0"
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
|
@ -39,6 +39,12 @@ pre_configure() {
|
||||||
PATH="${wrksrc}/build/Bootstrap.cmk:$PATH"
|
PATH="${wrksrc}/build/Bootstrap.cmk:$PATH"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
do_check() {
|
||||||
|
cd build
|
||||||
|
# https://gitlab.kitware.com/cmake/cmake/-/issues/23885
|
||||||
|
./bin/ctest -E RunCMake.SymlinkTrees
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
rm -rf ${DESTDIR}/usr/share/doc/cmake
|
rm -rf ${DESTDIR}/usr/share/doc/cmake
|
||||||
sed -n -e '/Copyright/,/authorization[.]/p' \
|
sed -n -e '/Copyright/,/authorization[.]/p' \
|
||||||
|
|
Loading…
Add table
Reference in a new issue