wok-next view cmake/receipt @ rev 21110

subversion: update dependencies
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jan 11 04:06:27 2019 +0200 (2019-01-11)
parents 4d9f82dabdbb
children 6618ed2803f7
line source
1 # SliTaz package receipt v2.
3 PACKAGE="cmake"
4 VERSION="3.13.2"
5 CATEGORY="development"
6 SHORT_DESC="Cross-platform build system generator"
7 MAINTAINER="devel@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 TARBALL_SHA1="101b8599b5ddd4df9127e227c3fe13ed3d8e266a"
16 BUILD_DEPENDS="zlib-dev curl-dev bzip2-dev xz-dev libarchive-dev expat-dev \
17 ncurses-dev gfortran libuv-dev jsoncpp-dev"
18 SPLIT="$PACKAGE-common"
20 COPY_std="bin/"
21 COPY_common="@std @dev @rm"
23 DEPENDS_std="cmake-common expat jsoncpp libarchive libcurl libuv ncurses \
24 ncurses-libform zlib"
25 DEPENDS_common=" "
27 CAT_common="development|common files"
29 # CMake should be updated both with Boost:
30 # https://stackoverflow.com/questions/42123509/cmake-finds-boost-but-the-imported-targets-not-available-for-boost-version
31 # > Boost 1.68, 1.69 require CMake 3.13 or newer.
33 compile_rules() {
34 sed -i '/"lib64"/s/64//' Modules/GNUInstallDirs.cmake
35 fix math
37 ./bootstrap \
38 --prefix=/usr \
39 --system-libs \
40 --mandir=/share/man \
41 --no-system-librhash \
42 --docdir=/share/doc/$PACKAGE-$VERSION &&
43 make &&
44 make DESTDIR=$install install
45 }