mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-15 16:20:08 +02:00
49 lines
1.2 KiB
Plaintext
49 lines
1.2 KiB
Plaintext
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-2011 Kitware, Inc., Insight Consortium, All rights reserved."
|
|
SRC_URI="http://www.cmake.org/files/v2.8/cmake-2.8.5.tar.gz"
|
|
CHECKSUM_MD5="3c5d32cec0f4c2dc45f4c2e84f4a20c5"
|
|
REVISION="6"
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
|
|
PATCHES="cmake-2.8.5.patchset"
|
|
|
|
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="
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
haiku_devel >= $haikuVersion
|
|
cmd:gcc
|
|
cmd:grep
|
|
cmd:ld
|
|
cmd:libtool
|
|
cmd:make
|
|
cmd:sed
|
|
"
|
|
|
|
SOURCE_DIR="$portVersionedName"
|
|
|
|
BUILD()
|
|
{
|
|
./configure --prefix=$prefix \
|
|
--datadir=/$relativeDataDir/cmake \
|
|
--docdir=/$relativeDocDir \
|
|
--mandir=/$relativeManDir
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
}
|