1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 groups = Development/Tools
11 url = http://www.cmake.org
13 summary = Cross-platform make system.
15 # Add some fixes to work with lto.
16 CFLAGS += -Wl,-lpthread
17 CXXFLAGS += -Wl,-lpthread
20 CMake is used to control the software compilation process using simple \
21 platform and compiler independent configuration files. CMake generates \
22 native makefiles and workspaces that can be used in the compiler \
23 environment of your choice. CMake is quite sophisticated: it is possible \
24 to support complex environments requiring system configuration, pre-processor \
25 generation, code generation, and template instantiation.
41 find -name \*.h -o -name \*.cxx -print0 | xargs -0 chmod -x
46 cd build && ../bootstrap \
48 --datadir=/share/cmake \
49 --docdir=/share/doc/cmake-%{version} \
52 --parallel=$(/usr/bin/getconf _NPROCESSORS_ONLN)
54 make VERBOSE=1 %{PARALLELISMFLAGS}
58 cd build && bin/ctest -V -E ModuleNotices
62 cd build && make install DESTDIR=%{BUILDROOT}
70 package %{name}-debuginfo