mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
Cleanup cmake-2.8.11.2 recipe and patch
* Some tests are not passing, so marking the port as broken for now. * Make sure the patch is actually used when building.
This commit is contained in:
@@ -1,33 +1,58 @@
|
||||
DESCRIPTION="cmake - Cross platform Make"
|
||||
SUMMARY="Cross platform Make"
|
||||
DESCRIPTION="CMake is a cross-platform, open-source build system. It is a
|
||||
family of tools designed to build, test and package software. CMake is used
|
||||
to control the software compilation process using simple platform and
|
||||
compiler independent configuration files. CMake generates native makefiles
|
||||
and workspaces that can be used in the compiler environment of your choice.
|
||||
"
|
||||
HOMEPAGE="http://www.cmake.org"
|
||||
LICENSE="CMake"
|
||||
COPYRIGHT="2002-2013 Kitware, Inc., Insight Consortium, All rights reserved."
|
||||
SRC_URI="http://www.cmake.org/files/v2.8/cmake-2.8.11.2.tar.gz"
|
||||
#CHECKSUM_MD5=""
|
||||
CHECKSUM_MD5="6f5d7b8e7534a5d9e1a7664ba63cf882"
|
||||
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
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
|
||||
|
||||
PROVIDES="
|
||||
cmake = $portVersion compat >= 2.8
|
||||
cmd:cmake = $portVersion compat >= 2.8
|
||||
cmd:cpack = $portVersion compat >= 2.8
|
||||
cmd:ctest = $portVersion compat >= 2.8
|
||||
"
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
lib:libncurses
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
ncurses_devel
|
||||
cmd:gcc
|
||||
cmd:grep
|
||||
cmd:ld
|
||||
cmd:libtool
|
||||
cmd:make
|
||||
cmd:sed
|
||||
"
|
||||
PATCHES="cmake-2.8.11.2.patchset"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
./configure --prefix=$prefix \
|
||||
--datadir=/$relativeDataDir/cmake \
|
||||
--docdir=/$relativeDocDir \
|
||||
--mandir=/$relativeManDir
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd cmake-2.8.11.2
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
}
|
||||
|
||||
TEST {
|
||||
cd cmake-2.8.11.2
|
||||
TEST()
|
||||
{
|
||||
make test
|
||||
}
|
||||
|
||||
LICENSE="CMake"
|
||||
COPYRIGHT="2002-2013 Kitware, Inc., Insight Consortium, All rights reserved."
|
||||
|
||||
Reference in New Issue
Block a user