From a608ef4d63ddc58528eb7defa6a7f89c71ea7033 Mon Sep 17 00:00:00 2001 From: Simon Busch Date: Wed, 25 Jun 2014 09:55:16 +0200 Subject: ninja-native: add recipe Needed to build qtwebengine. Taken from meta-browser. Signed-off-by: Simon Busch Signed-off-by: Martin Jansa --- recipes-devtools/ninja/ninja-native_1.4.0.bb | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 recipes-devtools/ninja/ninja-native_1.4.0.bb diff --git a/recipes-devtools/ninja/ninja-native_1.4.0.bb b/recipes-devtools/ninja/ninja-native_1.4.0.bb new file mode 100644 index 00000000..a115c2e3 --- /dev/null +++ b/recipes-devtools/ninja/ninja-native_1.4.0.bb @@ -0,0 +1,22 @@ +DESCRIPTION = "Ninja is a small build system with a focus on speed." +LICENSE = "Apache-2" + +inherit native + +LIC_FILES_CHKSUM = "file://COPYING;md5=a81586a64ad4e476c791cda7e2f2c52e" + +SRCREV="63d5b1013cafb2db95687cf446eb5bb68cf6a27a" +SRCBRANCH="release" + +SRC_URI = "git://github.com/martine/ninja.git;branch=${SRCBRANCH}" + +S="${WORKDIR}/git" + +do_compile() { + python ${S}/bootstrap.py +} + +do_install() { + install -d ${D}${bindir} + install -m 0755 ${S}/ninja ${D}${bindir}/ninja +} -- cgit v1.2.3