mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
47 lines
1.3 KiB
Bash
47 lines
1.3 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="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
|
|
}
|