mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
ninja: add recipe for version 1.6.0.
This commit is contained in:
45
dev-util/ninja/ninja-1.6.0.recipe
Normal file
45
dev-util/ninja/ninja-1.6.0.recipe
Normal file
@@ -0,0 +1,45 @@
|
||||
SUMMARY="A small build system similar to make"
|
||||
DESCRIPTION="Ninja is a small build system with a focus on speed. It differs \
|
||||
from other build systems in two major respects: it is designed to have its \
|
||||
input files generated by a higher-level build system, and it is designed to \
|
||||
run builds as fast as possible.
|
||||
Ninja's low-level approach makes it perfect for embedding into more featureful \
|
||||
build systems. Via gyp it can build Chrome and v8 and node.js etc.; via CMake \
|
||||
it can build LLVM, KDE, Blender, etc."
|
||||
HOMEPAGE="http://martine.github.io/ninja/"
|
||||
COPYRIGHT="2014 Google Inc."
|
||||
LICENSE="Apache v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/martine/ninja/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="b43e88fb068fe4d92a3dfd9eb4d19755dae5c33415db2e9b7b61b4659009cde7"
|
||||
PATCHES="ninja-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="?x86"
|
||||
|
||||
PROVIDES="
|
||||
ninja$secondaryArchSuffix = $portVersion
|
||||
cmd:ninja = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
haiku_devel
|
||||
cmd:python2
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:as$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
python2 ./configure.py --bootstrap
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $prefix/bin
|
||||
cp ninja $prefix/bin
|
||||
}
|
||||
Reference in New Issue
Block a user