CMake: update to 3.0.0 final.

This commit is contained in:
Augustin Cavalier
2014-07-14 15:38:21 -04:00
parent d802e836f4
commit d23f1c2fc3
3 changed files with 17 additions and 1206 deletions

View File

@@ -1,16 +1,15 @@
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.
"
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"
COPYRIGHT="2002-2014 Kitware, Inc., Insight Consortium. All rights reserved."
LICENSE="CMake"
COPYRIGHT="2002-2014 Kitware, Inc., Insight Consortium, All rights reserved."
SRC_URI="http://www.cmake.org/files/v3.0/cmake-3.0.0-rc6.tar.gz"
CHECKSUM_SHA256="bb34dacec33b3ac26ee05b0a66b95ed8f52a0ce212f13c3e65a923944cdd484a"
SRC_URI="http://www.cmake.org/files/v3.0/cmake-3.0.0.tar.gz"
CHECKSUM_SHA256="99a34b7f74000404feffd82fba9d9e0cd623428c74b6a4851a0dee1c272606c0"
SOURCE_DIR="cmake-3.0.0"
REVISION="1"
ARCHITECTURES="x86 x86_64 arm"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
@@ -20,6 +19,8 @@ if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
fi
SECONDARY_ARCHITECTURES="x86"
PATCHES="cmake-3.0.0_rc6.patchset"
PROVIDES="
cmake$secondaryArchSuffix = $portVersion compat >= 3.0
cmd:cmake = $portVersion compat >= 3.0
@@ -27,14 +28,17 @@ PROVIDES="
cmd:cpack = $portVersion compat >= 3.0
cmd:ctest = $portVersion compat >= 3.0
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
lib:libstdc++$secondaryArchSuffix
lib:libncurses$secondaryArchSuffix
"
BUILD_REQUIRES="
devel:libncurses$secondaryArchSuffix
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
haiku_devel >= $haikuVersion
@@ -45,10 +49,10 @@ BUILD_PREREQUIRES="
cmd:make
cmd:sed
"
PATCHES="cmake-3.0.0_rc6.patchset"
SOURCE_DIR="cmake-3.0.0-rc6"
BUILD()
{
# not an autotools configure
./configure --prefix=$prefix \
--datadir=/$relativeDataDir/cmake \
--docdir=/$relativeDocDir \
@@ -70,4 +74,3 @@ TEST()
cp bin/ctest Bootstrap.cmk/
make test VERBOSE=1
}

View File

@@ -1,72 +0,0 @@
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-2014 Kitware, Inc., Insight Consortium, All rights reserved."
SRC_URI="git+http://cmake.org/cmake.git"
CHECKSUM_MD5="3f6e729a52e15cc3b1d58e2d1195c421"
REVISION="1"
ARCHITECTURES="?x86 ?x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
# x86_gcc2 is fine as primary target architecture as long as we're building
# for a different secondary architecture.
ARCHITECTURES="$ARCHITECTURES ?x86_gcc2"
fi
SECONDARY_ARCHITECTURES="?x86"
PROVIDES="
cmake = $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 >= $haikuVersion
lib:libncurses$secondaryArchSuffix
"
BUILD_REQUIRES="
devel:libncurses$secondaryArchSuffix
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
haiku_devel >= $haikuVersion
cmd:gcc$secondaryArchSuffix
cmd:grep
cmd:ld$secondaryArchSuffix
cmd:libtool
cmd:make
cmd:sed
"
PATCHES="cmake-$portVersion.patchset"
#SOURCE_DIR="cmake-3.0.0-rc1"
BUILD()
{
./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
}

File diff suppressed because it is too large Load Diff