wok-next annotate cmake/receipt @ rev 21682

updated gifsicle (1.91 -> 1.92)
author Hans-G?nter Theisgen
date Mon Jun 29 15:15:42 2020 +0100 (2020-06-29)
parents 6618ed2803f7
children
rev   line source
al@19765 1 # SliTaz package receipt v2.
pankso@14 2
pankso@14 3 PACKAGE="cmake"
Hans-G?nter@21556 4 VERSION="3.17.3"
pankso@200 5 CATEGORY="development"
al@19607 6 SHORT_DESC="Cross-platform build system generator"
Hans-G?nter@21556 7 MAINTAINER="maintainer@slitaz.org"
pascal@15579 8 LICENSE="BSD"
al@19607 9 WEB_SITE="https://cmake.org/"
al@20936 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/cmake.html"
al@19607 11
pankso@14 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@17869 13 WGET_URL="http://www.cmake.org/files/v${VERSION%.*}/$TARBALL"
Hans-G?nter@21556 14 # https://github.com/Kitware/CMake/releases/download/v3.17.3/cmake-3.17.3-SHA-256.txt
Hans-G?nter@21556 15 TARBALL_SHA256="0bd60d512275dc9f6ef2a2865426a184642ceb3761794e6b65bff233b91d8c40"
pankso@14 16
Hans-G?nter@21556 17 BUILD_DEPENDS="bzip2-dev curl-dev expat-dev libarchive-dev gfortran
Hans-G?nter@21556 18 jsoncpp-dev libuv-dev ncurses-dev xz-dev zlib-dev"
al@20969 19 SPLIT="$PACKAGE-common"
pascal@15579 20
al@21071 21 COPY_std="bin/"
al@21071 22 COPY_common="@std @dev @rm"
al@21071 23
al@21071 24 DEPENDS_std="cmake-common expat jsoncpp libarchive libcurl libuv ncurses \
Hans-G?nter@21556 25 ncurses-libform zlib"
al@21071 26 DEPENDS_common=" "
al@21071 27
al@21071 28 CAT_common="development|common files"
al@21071 29
al@21071 30 # CMake should be updated both with Boost:
al@21071 31 # https://stackoverflow.com/questions/42123509/cmake-finds-boost-but-the-imported-targets-not-available-for-boost-version
al@21085 32 # > Boost 1.68, 1.69 require CMake 3.13 or newer.
al@21071 33
Hans-G?nter@21556 34 compile_rules()
Hans-G?nter@21556 35 {
al@20936 36 sed -i '/"lib64"/s/64//' Modules/GNUInstallDirs.cmake
al@21140 37 # fix math
al@19765 38
Hans-G?nter@21556 39 ./bootstrap \
Hans-G?nter@21556 40 --prefix=/usr \
Hans-G?nter@21556 41 --system-libs \
Hans-G?nter@21556 42 --mandir=/share/man \
Hans-G?nter@21556 43 --no-system-librhash \
al@19607 44 --docdir=/share/doc/$PACKAGE-$VERSION &&
pascal@1511 45 make &&
al@21020 46 make DESTDIR=$install install
pankso@14 47 }