summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonan Le Martret <ronan@fridu.net>2014-05-12 18:13:52 +0200
committerRonan Le Martret <ronan@fridu.net>2014-05-12 18:13:52 +0200
commitab8766819a48d0912b7542c2ca1816752069b52e (patch)
tree6863c9351a865ff0675c36f250151484d3cab1ff
parent0a6ce4d707c61f666c3de01a249f0e1008db72a3 (diff)
downloadmeta-tizen-ab8766819a48d0912b7542c2ca1816752069b52e.tar.gz
meta-tizen-ab8766819a48d0912b7542c2ca1816752069b52e.tar.bz2
meta-tizen-ab8766819a48d0912b7542c2ca1816752069b52e.zip
Add ninja pkg.
Change-Id: Ic76fc5d63801695aa24a4943478ccb3770d2d3d9 Signed-off-by: Ronan Le Martret <ronan@fridu.net>
-rw-r--r--recipes-devtools/ninja/ninja-native_1.4.0.bb22
1 files changed, 22 insertions, 0 deletions
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..c0e34d35
--- /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
+} \ No newline at end of file