diff --git a/cmake.be0 b/cmake.be0 index b62579d66..e297e1d8a 100755 --- a/cmake.be0 +++ b/cmake.be0 @@ -1,6 +1,6 @@ #!/usr/bin/env beesh -# BEE_VERSION cmake-3.8.0-0 +# BEE_VERSION cmake-3.14.5-0 ## this file was created by bee init and should be executed to build a ## bee-package. (Additional hints are located at the end of this file.) @@ -53,17 +53,28 @@ SRCURL[0]="https://cmake.org/files/v${PKGVERSION[2]}/cmake-${PKGVERSION}.tar.gz" # bee_patch "${@}" #} -#mee_configure() { -# bee_configure -#} +mee_configure() { + ${S}/configure \ + --prefix=/usr \ + --docdir=share/doc/cmake-${PKGVERSION[2]} \ + --mandir=share/man \ + --qt-qmake=/usr/local/qt4/bin/qmake \ + --qt-gui +} #mee_build() { # bee_build -# # Test suite currently fails. -# # https://gitlab.kitware.com/cmake/cmake/issues/16823 -# start_cmd ${B}/bin/ctest ${BEE_MAKEFLAGS} #} +mee_build_post() { + # Two GTK2-mm tests fail (570: GTK2Targets.giomm and + # 572: GTK2Targets.cairomm). This is not surprising, + # its owed to the old C++ abi used at compile time. + # The other two (5: kwsys.testSystemTools & 206: CTest.UpdateCVS) + # fail because they are run as root (ehemmm... :). + make test || true +} + #mee_install() { # bee_install #}