mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-07 05:12:58 +02:00
cmake: update to 3.5.0.
This commit is contained in:
parent
fcbbeb5d37
commit
25ad12949b
2 changed files with 8 additions and 23 deletions
|
@ -1,13 +0,0 @@
|
|||
mode_t needs sys/stat.h
|
||||
|
||||
--- Source/cmStandardIncludes.h.orig
|
||||
+++ Source/cmStandardIncludes.h
|
||||
@@ -74,6 +74,8 @@
|
||||
|
||||
#if defined( _MSC_VER )
|
||||
typedef unsigned short mode_t;
|
||||
+#else
|
||||
+#include <sys/stat.h>
|
||||
#endif
|
||||
|
||||
// use this class to shrink the size of symbols in .o files
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'cmake'
|
||||
pkgname=cmake
|
||||
version=3.2.3
|
||||
revision=2
|
||||
version=3.5.0
|
||||
revision=1
|
||||
build_style=configure
|
||||
makedepends="zlib-devel bzip2-devel expat-devel libcurl-devel ncurses-devel libarchive-devel"
|
||||
short_desc="Cross-platform, open-source build system"
|
||||
|
@ -9,7 +9,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|||
license="LGPL-2.1, 3-clause-BSD"
|
||||
homepage="http://www.cmake.org"
|
||||
distfiles="http://www.cmake.org/files/v${version%.*}/$pkgname-$version.tar.gz"
|
||||
checksum=a1ebcaf6d288eb4c966714ea457e3b9677cdfde78820d0f088712d7320850297
|
||||
checksum=92c83ad8a4fd6224cf6319a60b399854f55b38ebe9d297c942408b792b1a9efa
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
# XXX ugly :-)
|
||||
|
@ -19,10 +19,7 @@ if [ "$CROSS_BUILD" ]; then
|
|||
configure_args+=" -DCMAKE_USE_SYSTEM_LIBARCHIVE=1"
|
||||
configure_args+=" -DCMAKE_USE_SYSTEM_CURL=1 -DCMAKE_USE_SYSTEM_ZLIB=1"
|
||||
configure_args+=" -DCMAKE_USE_SYSTEM_EXPAT=1 -DCMAKE_USE_SYSTEM_BZIP2=1"
|
||||
configure_args+=" -DCMAKE_USE_SYSTEM_LIBLZMA=1 -DCMAKE_USE_SYSTEM_LIBFORM=1"
|
||||
configure_args+=" -DHAVE_GLIBC_STRERROR_R=0 -DHAVE_POSIX_STRERROR_R=1"
|
||||
configure_args+=" -DHAVE_GLIBC_STRERROR_R__TRYRUN_OUTPUT=0 -DHAVE_POSIX_STRERROR_R__TRYRUN_OUTPUT=0"
|
||||
configure_args+=" -DHAVE_POLL_FINE=1 -DKWSYS_CHAR_IS_SIGNED=1 -DKWSYS_LFS_WORKS=1"
|
||||
configure_args+=" -DCMAKE_USE_SYSTEM_LIBLZMA=1 -DKWSYS_LFS_WORKS=1"
|
||||
else
|
||||
build_style=configure
|
||||
configure_args="--prefix=/usr --mandir=/share/man"
|
||||
|
@ -30,7 +27,8 @@ else
|
|||
fi
|
||||
|
||||
post_install() {
|
||||
if [ -d ${DESTDIR}/usr/doc ]; then
|
||||
mv ${DESTDIR}/usr/doc ${DESTDIR}/usr/share
|
||||
fi
|
||||
rm -rf ${DESTDIR}/usr/share/doc/cmake
|
||||
vlicense Copyright.txt
|
||||
vlicense Utilities/cmzlib/Copyright.txt cmzlib-Copyright.txt
|
||||
vlicense Utilities/cmcompress/Copyright.txt cmcompress-Copyright.txt
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue