summaryrefslogtreecommitdiffstats
path: root/meta-eca/recipes-devtools/ninja/ninja-native_1.4.0.bb
blob: f05d4781a2db5107b0c6e1785458eaa3508fac01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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"

SRC_URI = "git://github.com/martine/ninja.git;branch=release"

S="${WORKDIR}/git"

do_compile() {
    python ${S}/bootstrap.py
}

do_install() {
    install -d ${D}${bindir}
    install -m 0755 ${S}/ninja ${D}${bindir}/ninja
}