wok-next rev 21556

updated cmake (3.13.3 -> 3.17.3)
author Hans-G?nter Theisgen
date Mon Jun 22 14:01:24 2020 +0100 (2020-06-22)
parents f1e7b7e48bcd
children 81c22da6eb2a
files cmake/receipt
line diff
     1.1 --- a/cmake/receipt	Mon Jun 22 13:46:32 2020 +0100
     1.2 +++ b/cmake/receipt	Mon Jun 22 14:01:24 2020 +0100
     1.3 @@ -1,27 +1,28 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="cmake"
     1.7 -VERSION="3.13.3"
     1.8 +VERSION="3.17.3"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Cross-platform build system generator"
    1.11 -MAINTAINER="devel@slitaz.org"
    1.12 +MAINTAINER="maintainer@slitaz.org"
    1.13  LICENSE="BSD"
    1.14  WEB_SITE="https://cmake.org/"
    1.15  LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/cmake.html"
    1.16  
    1.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18  WGET_URL="http://www.cmake.org/files/v${VERSION%.*}/$TARBALL"
    1.19 -TARBALL_SHA1="f33558a268a9286d4fa310abbd56efbaf897f6dc"
    1.20 +# https://github.com/Kitware/CMake/releases/download/v3.17.3/cmake-3.17.3-SHA-256.txt
    1.21 +TARBALL_SHA256="0bd60d512275dc9f6ef2a2865426a184642ceb3761794e6b65bff233b91d8c40"
    1.22  
    1.23 -BUILD_DEPENDS="zlib-dev curl-dev bzip2-dev xz-dev libarchive-dev expat-dev \
    1.24 -ncurses-dev gfortran libuv-dev jsoncpp-dev"
    1.25 +BUILD_DEPENDS="bzip2-dev curl-dev expat-dev libarchive-dev gfortran
    1.26 +	jsoncpp-dev libuv-dev ncurses-dev xz-dev zlib-dev"
    1.27  SPLIT="$PACKAGE-common"
    1.28  
    1.29  COPY_std="bin/"
    1.30  COPY_common="@std @dev @rm"
    1.31  
    1.32  DEPENDS_std="cmake-common expat jsoncpp libarchive libcurl libuv ncurses \
    1.33 -ncurses-libform zlib"
    1.34 +	ncurses-libform zlib"
    1.35  DEPENDS_common=" "
    1.36  
    1.37  CAT_common="development|common files"
    1.38 @@ -30,15 +31,16 @@
    1.39  # https://stackoverflow.com/questions/42123509/cmake-finds-boost-but-the-imported-targets-not-available-for-boost-version
    1.40  # > Boost 1.68, 1.69 require CMake 3.13 or newer.
    1.41  
    1.42 -compile_rules() {
    1.43 +compile_rules()
    1.44 +{
    1.45  	sed -i '/"lib64"/s/64//' Modules/GNUInstallDirs.cmake
    1.46  #	fix math
    1.47  
    1.48 -	./bootstrap \
    1.49 -		--prefix=/usr \
    1.50 -		--system-libs \
    1.51 -		--mandir=/share/man \
    1.52 -		--no-system-librhash \
    1.53 +	./bootstrap			\
    1.54 +		--prefix=/usr		\
    1.55 +		--system-libs		\
    1.56 +		--mandir=/share/man	\
    1.57 +		--no-system-librhash	\
    1.58  		--docdir=/share/doc/$PACKAGE-$VERSION &&
    1.59  	make &&
    1.60  	make DESTDIR=$install install