wok-next view cmake/receipt @ rev 20529
Up libblockdev (2.16), nspr (4.18), openssh (7.6p1), udisks2 (2.7.6).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Mar 24 15:55:55 2018 +0200 (2018-03-24) |
parents | d78f328fc5cb |
children | 624ffd1bb925 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="cmake"
4 VERSION="3.9.1"
5 CATEGORY="development"
6 SHORT_DESC="Cross-platform build system generator"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://cmake.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/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 \
16 expat-dev ncurses-dev gfortran"
18 compile_rules() {
19 sed -i '/CMAKE_USE_LIBUV 1/s/1/0/' CMakeLists.txt &&
20 sed -i '/"lib64"/s/64//' Modules/GNUInstallDirs.cmake &&
22 ./bootstrap \
23 --prefix=/usr \
24 --system-libs \
25 --mandir=/share/man \
26 --no-system-jsoncpp \
27 --no-system-librhash \
28 --docdir=/share/doc/$PACKAGE-$VERSION &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 genpkg_rules() {
34 copy @std @dev
35 DEPENDS="expat libarchive libcurl ncurses-libform zlib"
36 }