Files
haikuports/dev-util/cmake/cmake-3.0.0.recipe
Humdinger 4a6f4a8774 More recipe cosmetics.
Mainly inproved SUMMARY/DESCRIPTION and re-ordering of blocks.
2015-08-25 17:44:40 +02:00

69 lines
1.6 KiB
Bash

SUMMARY="A cross-platform build system"
DESCRIPTION="CMake is a family of tools designed to build, test and package \
software. It 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"
COPYRIGHT="2002-2014 Kitware, Inc., Insight Consortium"
LICENSE="CMake"
REVISION="1"
SOURCE_URI="http://www.cmake.org/files/v3.0/cmake-3.0.0.tar.gz"
CHECKSUM_SHA256="99a34b7f74000404feffd82fba9d9e0cd623428c74b6a4851a0dee1c272606c0"
SOURCE_DIR="cmake-3.0.0"
PATCHES="cmake-3.0.0_rc6.patchset"
ARCHITECTURES="!x86_gcc2 x86 x86_64 arm"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
cmake$secondaryArchSuffix = $portVersion compat >= 3.0
cmd:cmake = $portVersion compat >= 3.0
cmd:ccmake = $portVersion compat >= 3.0
cmd:cpack = $portVersion compat >= 3.0
cmd:ctest = $portVersion compat >= 3.0
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libncurses$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libncurses$secondaryArchSuffix
"
BUILD_PREREQUIRES="
haiku_devel
cmd:gcc$secondaryArchSuffix
cmd:grep
cmd:ld$secondaryArchSuffix
cmd:libtool
cmd:make
cmd:sed
"
BUILD()
{
# not an autotools configure
./configure --prefix=$prefix \
--datadir=/$relativeDataDir/cmake \
--docdir=/$relativeDocDir \
--mandir=/$relativeManDir
make $jobArgs
}
INSTALL()
{
make install
# No way to tell this to configure...
mv $prefix/share/aclocal $dataDir
rmdir $prefix/share
}
TEST()
{
cp bin/ctest Bootstrap.cmk/
make test VERBOSE=1
}