mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00

- Now requiring CMake 2.8.6 - Make moving of packages into build/ independent of package names. - Bro-all package renamed to Bro and Bro renamed to Bro-minimal which is more similar to source packages now.
14 lines
493 B
Bash
Executable file
14 lines
493 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# CMake/CPack versions before 2.8.3 have bugs that can create bad packages
|
|
# Since packages will be built on several different systems, a single
|
|
# version of CMake is required to obtain consistency, but can be increased
|
|
# as new versions of CMake come out that also produce working packages.
|
|
|
|
CMAKE_PACK_REQ="cmake version 2.8.6"
|
|
CMAKE_VER=`cmake -version`
|
|
|
|
if [ "${CMAKE_VER}" != "${CMAKE_PACK_REQ}" ]; then
|
|
echo "Package creation requires ${CMAKE_PACK_REQ}" >&2
|
|
exit 1
|
|
fi
|