mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-30 03:58:51 +02:00
Merged in tgkokk/haikuports/cmake_haiku (pull request #96)
Added CmakeHaiku recipe
This commit is contained in:
45
haiku-apps/cmake_haiku/cmake_haiku-git.recipe
Normal file
45
haiku-apps/cmake_haiku/cmake_haiku-git.recipe
Normal file
@@ -0,0 +1,45 @@
|
||||
SUMMARY="Cmake GUI with Haiku Native Widgets"
|
||||
DESCRIPTION="cmake_haiku is a native GUI frontend for Cmake with features like configuring a project and generating files for other build systems like Makefiles, Ninja etc."
|
||||
|
||||
HOMEPAGE="https://github.com/AdrianArroyoCalle/cmake-haiku"
|
||||
SRC_URI="git+https://github.com/AdrianArroyoCalle/cmake-haiku.git#a42d55b"
|
||||
|
||||
LICENSE="BSD (3-clause)"
|
||||
COPYRIGHT="2012-2013 Adrián Arroyo Calle <adrian.arroyocalle@gmail.com>"
|
||||
|
||||
REVISION="1"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 ?x86"
|
||||
|
||||
PROVIDES="
|
||||
cmake_haiku = $portVersion
|
||||
app:cmake_haiku = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
cmd:cmake
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:cmake
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cmake .
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir
|
||||
cp cmake-gui $appsDir/CmakeHaiku
|
||||
|
||||
addAppDeskbarSymlink $appsDir/CmakeHaiku
|
||||
}
|
||||
Reference in New Issue
Block a user