summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2017-09-06 20:38:28 +0100
committerJavier Jardón <jjardon@gnome.org>2017-09-09 22:58:43 +0100
commit796e093de6625712734f65f6172d977e4145092b (patch)
tree437de1336e52bce8d33cc31a4aa7d0b6d292deca
parentc7d0b5322cfa0cbe62d1523a4ac9e69454eb2f61 (diff)
downloaddefinitions-796e093de6625712734f65f6172d977e4145092b.tar.gz
core: Add ninja
-rw-r--r--strata/core.morph7
-rw-r--r--strata/core/ninja.morph9
2 files changed, 16 insertions, 0 deletions
diff --git a/strata/core.morph b/strata/core.morph
index a0da0724..9b6d6eee 100644
--- a/strata/core.morph
+++ b/strata/core.morph
@@ -469,6 +469,13 @@ chunks:
- automake
- libtool
- perl
+- name: ninja
+ morph: strata/core/ninja.morph
+ repo: upstream:ninja
+ ref: 717b7b4a31db6027207588c0fb89c3ead384747b
+ unpetrify-ref: v1.7.2
+ build-depends:
+ - python3
- name: meson
repo: upstream:meson
ref: a629642f1ecaeaef85438156e1184ac300df536a
diff --git a/strata/core/ninja.morph b/strata/core/ninja.morph
new file mode 100644
index 00000000..26da5cae
--- /dev/null
+++ b/strata/core/ninja.morph
@@ -0,0 +1,9 @@
+name: ninja
+kind: chunk
+build-system: manual
+build-commands:
+- ./configure.py --bootstrap
+install-commands:
+- |
+ mkdir -p "$DESTDIR$PREFIX"/bin
+ cp ninja "$DESTDIR$PREFIX"/bin