cmake: bump version.

This commit is contained in:
Jerome Duval
2015-08-12 20:28:00 +00:00
parent c09f96ba2d
commit 277b6d7c8b
2 changed files with 90 additions and 0 deletions

View File

@@ -0,0 +1,68 @@
SUMMARY="A cross-platform build system"
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"
LICENSE="CMake"
REVISION="1"
SOURCE_URI="http://www.cmake.org/files/v3.3/cmake-$portVersion.tar.gz"
CHECKSUM_SHA256="857c2f755fe0794d038d6fa462a173d05b210ac2c07ff82f0af853acef231a34"
SOURCE_DIR="cmake-$portVersion"
PATCHES="cmake-$portVersion.patchset"
ARCHITECTURES="!x86_gcc2 x86 x86_64 arm"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
cmake$secondaryArchSuffix = $portVersion compat >= 3
cmd:cmake = $portVersion compat >= 3
cmd:ccmake = $portVersion compat >= 3
cmd:cpack = $portVersion compat >= 3
cmd:ctest = $portVersion compat >= 3
"
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
}

View File

@@ -0,0 +1,22 @@
From 39333f7fd44b281cdaafb98820d549c923103011 Mon Sep 17 00:00:00 2001
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
Date: Mon, 9 Jun 2014 22:30:55 +0200
Subject: Fix OpenAL search path.
diff --git a/Modules/FindOpenAL.cmake b/Modules/FindOpenAL.cmake
index 8150ff2..e0276f8 100644
--- a/Modules/FindOpenAL.cmake
+++ b/Modules/FindOpenAL.cmake
@@ -68,7 +68,7 @@
find_path(OPENAL_INCLUDE_DIR al.h
HINTS
ENV OPENALDIR
- PATH_SUFFIXES include/AL include/OpenAL include
+ PATH_SUFFIXES include/AL include/OpenAL include AL OpenAL
PATHS
~/Library/Frameworks
/Library/Frameworks
--
2.2.2