mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
47 lines
1.2 KiB
Bash
47 lines
1.2 KiB
Bash
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="3"
|
|
SOURCE_URI="https://github.com/martine/ninja/archive/v1.5.1.tar.gz"
|
|
CHECKSUM_SHA256="fba77b9ed4b4dd0e86c4513776938dc64bd4508dc2055b04c0c6df68bcfa397d"
|
|
PATCHES="ninja-1.5.1.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:python
|
|
cmd:g++$secondaryArchSuffix
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:as$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
python ./bootstrap.py
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $prefix/bin
|
|
cp ninja $prefix/bin
|
|
}
|