mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
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:
33
dev-util/cmake/cmake-2.8.11.2.recipe
Normal file
33
dev-util/cmake/cmake-2.8.11.2.recipe
Normal 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."
|
||||
Reference in New Issue
Block a user