CMake 2.8.11 fixes our build problems on Haiku (2.8.10 did not build).

Add bep file for this new version, which also merges most of our changes from the previous patch.

(cherry picked from commit 725e6e5eae)
This commit is contained in:
Oliver Tappe
2013-09-17 00:57:42 +02:00
parent 31c3ecec74
commit a946574571
2 changed files with 262 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
DESCRIPTION="cmake - Cross platform Make"
HOMEPAGE="http://www.cmake.org"
SRC_URI="http://www.cmake.org/files/v2.8/cmake-2.8.11.2.tar.gz"
#CHECKSUM_MD5=""
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD {
cd cmake-2.8.11.2
# cmake appends the prefix to mandir and datadir
# so using ../../ to back that part out but for some reason
# the doc was also picking up /boot, so had to back it out 3 times
# this seems to work but might still need some further adjusting
# sed -i 's/${CMAKE_DATA_DIR}\/include cmCPluginAPI.h/${CMAKE_PREFIX_DIR}\/include cmCPluginAPI.h/g' Source/CMakeLists.txt
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
--datadir=/data/cmake \
--docdir=/documentation/doc/CMake \
--mandir=/documentation/man
make
}
INSTALL {
cd cmake-2.8.11.2
make install
}
TEST {
cd cmake-2.8.11.2
make test
}
LICENSE="CMake"
COPYRIGHT="2002-2013 Kitware, Inc., Insight Consortium, All rights reserved."