aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2015-10-30 12:19:49 -0700
committerMartin Jansa <Martin.Jansa@gmail.com>2015-11-06 17:49:41 +0100
commitd931801de77a9cbb13c916231583b3526a7d3e11 (patch)
treee77fb5e3f7112c859f693a7bef73f304ae52e8de /meta-oe
parentb6a62aa38242a2bd0cebbe18219af36da5b0e6dd (diff)
downloadmeta-openembedded-contrib-d931801de77a9cbb13c916231583b3526a7d3e11.tar.gz
meta-openembedded-contrib-d931801de77a9cbb13c916231583b3526a7d3e11.tar.bz2
meta-openembedded-contrib-d931801de77a9cbb13c916231583b3526a7d3e11.zip
ninja-native: add initial recipe, ninja 1.6.0
Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-devtools/ninja/ninja-native_1.6.0.bb25
1 files changed, 25 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/ninja/ninja-native_1.6.0.bb b/meta-oe/recipes-devtools/ninja/ninja-native_1.6.0.bb
new file mode 100644
index 0000000000..c00710afd5
--- /dev/null
+++ b/meta-oe/recipes-devtools/ninja/ninja-native_1.6.0.bb
@@ -0,0 +1,25 @@
+SUMMARY = "Ninja is a small build system with a focus on speed."
+HOMEPAGE = "http://martine.github.com/ninja/"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://COPYING;md5=a81586a64ad4e476c791cda7e2f2c52e"
+
+DEPENDS = "re2c-native"
+
+inherit native
+
+SRCREV="484c16336f19bd8970bb6e75322d61b92a229899"
+
+SRC_URI = "git://github.com/martine/ninja.git;branch=release"
+
+S="${WORKDIR}/git"
+
+do_configure[noexec] = "1"
+
+do_compile() {
+ python ${S}/configure.py --bootstrap
+}
+
+do_install() {
+ install -d ${D}${bindir}
+ install -m 0755 ${S}/ninja ${D}${bindir}/
+}