wok-next view 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 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="cmake"
4 VERSION="3.17.3"
5 CATEGORY="development"
6 SHORT_DESC="Cross-platform build system generator"
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://cmake.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/cmake.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://www.cmake.org/files/v${VERSION%.*}/$TARBALL"
14 # https://github.com/Kitware/CMake/releases/download/v3.17.3/cmake-3.17.3-SHA-256.txt
15 TARBALL_SHA256="0bd60d512275dc9f6ef2a2865426a184642ceb3761794e6b65bff233b91d8c40"
17 BUILD_DEPENDS="bzip2-dev curl-dev expat-dev libarchive-dev gfortran
18 jsoncpp-dev libuv-dev ncurses-dev xz-dev zlib-dev"
19 SPLIT="$PACKAGE-common"
21 COPY_std="bin/"
22 COPY_common="@std @dev @rm"
24 DEPENDS_std="cmake-common expat jsoncpp libarchive libcurl libuv ncurses \
25 ncurses-libform zlib"
26 DEPENDS_common=" "
28 CAT_common="development|common files"
30 # CMake should be updated both with Boost:
31 # https://stackoverflow.com/questions/42123509/cmake-finds-boost-but-the-imported-targets-not-available-for-boost-version
32 # > Boost 1.68, 1.69 require CMake 3.13 or newer.
34 compile_rules()
35 {
36 sed -i '/"lib64"/s/64//' Modules/GNUInstallDirs.cmake
37 # fix math
39 ./bootstrap \
40 --prefix=/usr \
41 --system-libs \
42 --mandir=/share/man \
43 --no-system-librhash \
44 --docdir=/share/doc/$PACKAGE-$VERSION &&
45 make &&
46 make DESTDIR=$install install
47 }