diff options
Diffstat (limited to 'recipes-devtools')
| -rw-r--r-- | recipes-devtools/ninja/ninja-native_1.4.0.bb | 22 |
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..a115c2e3 --- /dev/null +++ b/recipes-devtools/ninja/ninja-native_1.4.0.bb | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | DESCRIPTION = "Ninja is a small build system with a focus on speed." | ||
| 2 | LICENSE = "Apache-2" | ||
| 3 | |||
| 4 | inherit native | ||
| 5 | |||
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=a81586a64ad4e476c791cda7e2f2c52e" | ||
| 7 | |||
| 8 | SRCREV="63d5b1013cafb2db95687cf446eb5bb68cf6a27a" | ||
| 9 | SRCBRANCH="release" | ||
| 10 | |||
| 11 | SRC_URI = "git://github.com/martine/ninja.git;branch=${SRCBRANCH}" | ||
| 12 | |||
| 13 | S="${WORKDIR}/git" | ||
| 14 | |||
| 15 | do_compile() { | ||
| 16 | python ${S}/bootstrap.py | ||
| 17 | } | ||
| 18 | |||
| 19 | do_install() { | ||
| 20 | install -d ${D}${bindir} | ||
| 21 | install -m 0755 ${S}/ninja ${D}${bindir}/ninja | ||
| 22 | } | ||
