mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
parent
07ca138190
commit
2a9cd7f60b
1 changed files with 10 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'cmake'
|
# Template file for 'cmake'
|
||||||
pkgname=cmake
|
pkgname=cmake
|
||||||
version=3.18.2
|
version=3.18.4
|
||||||
revision=2
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DCMAKE_DOC_DIR=/share/doc/cmake
|
configure_args="-DCMAKE_DOC_DIR=/share/doc/cmake
|
||||||
-DCMAKE_BUILD_TYPE=None
|
-DCMAKE_BUILD_TYPE=None
|
||||||
|
@ -20,7 +20,14 @@ maintainer="Nathan Owens <ndowens04@gmail.com>"
|
||||||
license="LGPL-2.1-or-later, BSD-3-Clause"
|
license="LGPL-2.1-or-later, BSD-3-Clause"
|
||||||
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=5d4e40fc775d3d828c72e5c45906b4d9b59003c9433ff1b36a1cb552bbd51d7e
|
checksum=597c61358e6a92ecbfad42a9b5321ddd801fc7e7eca08441307c9138382d4f77
|
||||||
|
|
||||||
|
pre_check() {
|
||||||
|
# use ctest of this build instead of requirig cmake to test cmake...
|
||||||
|
vsed -i "${wrksrc}/build/Makefile" \
|
||||||
|
-e 's!/usr/bin/ctest!ctest!g'
|
||||||
|
export PATH="${wrksrc}/build/bin:$PATH"
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
rm -rf ${DESTDIR}/usr/share/doc/cmake
|
rm -rf ${DESTDIR}/usr/share/doc/cmake
|
||||||
|
|
Loading…
Add table
Reference in a new issue