wok-next view cmake/receipt @ rev 21071
Update atkmm, cairo, cmake, db, elfutils, emacs, glib, glib-networking, glibmm, gobject-introspection, libsigc++, meson, openssl, zstd
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 13 00:46:54 2018 +0200 (2018-12-13) |
parents | 8459b1de4897 |
children | 7c5d038be95b |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="cmake"
4 VERSION="3.13.1"
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"
15 BUILD_DEPENDS="zlib-dev curl-dev bzip2-dev xz-dev libarchive-dev expat-dev \
16 ncurses-dev gfortran libuv-dev jsoncpp-dev"
17 SPLIT="$PACKAGE-common"
19 COPY_std="bin/"
20 COPY_common="@std @dev @rm"
22 DEPENDS_std="cmake-common expat jsoncpp libarchive libcurl libuv ncurses \
23 ncurses-libform zlib"
24 DEPENDS_common=" "
26 CAT_common="development|common files"
28 # CMake should be updated both with Boost:
29 # https://stackoverflow.com/questions/42123509/cmake-finds-boost-but-the-imported-targets-not-available-for-boost-version
31 compile_rules() {
32 sed -i '/"lib64"/s/64//' Modules/GNUInstallDirs.cmake
33 fix math
35 ./bootstrap \
36 --prefix=/usr \
37 --system-libs \
38 --mandir=/share/man \
39 --no-system-librhash \
40 --docdir=/share/doc/$PACKAGE-$VERSION &&
41 make &&
42 make DESTDIR=$install install
43 }