wok-next view cmake/receipt @ rev 20332
Up exosip, httpfs-fuse, libvncserver, upx; add upx391 (for httpfs-fuse)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Nov 15 14:21:32 2017 +0200 (2017-11-15) |
parents | 2f3aba6cc31e |
children | 0e7893ac206d |
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 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i '/CMAKE_USE_LIBUV 1/s/1/0/' CMakeLists.txt &&
22 sed -i '/"lib64"/s/64//' Modules/GNUInstallDirs.cmake &&
24 ./bootstrap \
25 --prefix=/usr \
26 --system-libs \
27 --mandir=/share/man \
28 --no-system-jsoncpp \
29 --no-system-librhash \
30 --docdir=/share/doc/$PACKAGE-$VERSION &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 copy @std @dev
39 DEPENDS="expat libarchive libcurl ncurses-libform zlib"
40 }