diff options
Diffstat (limited to 'meta-oe/recipes-devtools/ninja/ninja_1.7.1.bb')
| -rw-r--r-- | meta-oe/recipes-devtools/ninja/ninja_1.7.1.bb | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/ninja/ninja_1.7.1.bb b/meta-oe/recipes-devtools/ninja/ninja_1.7.1.bb new file mode 100644 index 0000000000..2a4b829177 --- /dev/null +++ b/meta-oe/recipes-devtools/ninja/ninja_1.7.1.bb | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | SUMMARY = "Ninja is a small build system with a focus on speed." | ||
| 2 | HOMEPAGE = "http://martine.github.com/ninja/" | ||
| 3 | LICENSE = "Apache-2.0" | ||
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=a81586a64ad4e476c791cda7e2f2c52e" | ||
| 5 | |||
| 6 | DEPENDS = "re2c-native ninja-native" | ||
| 7 | |||
| 8 | SRCREV = "b49b0fc01bb052b6ac856b1e72be9391e962398e" | ||
| 9 | |||
| 10 | SRC_URI = "git://github.com/martine/ninja.git;branch=release" | ||
| 11 | |||
| 12 | S = "${WORKDIR}/git" | ||
| 13 | |||
| 14 | do_configure[noexec] = "1" | ||
| 15 | |||
| 16 | do_compile_class-native() { | ||
| 17 | ./configure.py --bootstrap | ||
| 18 | } | ||
| 19 | |||
| 20 | do_compile() { | ||
| 21 | ./configure.py | ||
| 22 | ninja | ||
| 23 | } | ||
| 24 | |||
| 25 | do_install() { | ||
| 26 | install -d ${D}${bindir} | ||
| 27 | install -m 0755 ${S}/ninja ${D}${bindir}/ | ||
| 28 | } | ||
| 29 | |||
| 30 | BBCLASSEXTEND = "native" | ||
