summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2017-12-12 18:39:56 (GMT)
committerJavier Jardón <jjardon@gnome.org>2017-12-12 18:42:45 (GMT)
commit16529106c9e44852d6d85f10f3539cee64a64cd4 (patch)
tree1a1f0effdea07a7766e7f59b6ac14659eeb1df63
parenta4410aac7e24022864e01a820bf38f626088fb08 (diff)
downloaddefinitions-jjardon/meson_bst.tar.gz
elements/core: Add ninjajjardon/meson_bst
-rw-r--r--elements/core.bst1
-rw-r--r--elements/core/ninja.bst19
2 files changed, 20 insertions, 0 deletions
diff --git a/elements/core.bst b/elements/core.bst
index a78307e..720eab0 100644
--- a/elements/core.bst
+++ b/elements/core.bst
@@ -49,3 +49,4 @@ depends:
- core/bc.bst
- core/libseccomp.bst
- core/meson.bst
+- core/ninja.bst
diff --git a/elements/core/ninja.bst b/elements/core/ninja.bst
new file mode 100644
index 0000000..60a86c1
--- /dev/null
+++ b/elements/core/ninja.bst
@@ -0,0 +1,19 @@
+kind: manual
+
+depends:
+- gnu-toolchain.bst
+
+sources:
+- kind: git
+ url: upstream:ninja
+ track: master
+ ref: 253e94c1fa511704baeb61cf69995bbf09ba435e
+
+config:
+ build-commands:
+ - ./configure.py --bootstrap
+
+ install-commands:
+ - |
+ mkdir -p "%{install-root}/%{prefix}"/bin
+ cp ninja "%{install-root}/%{prefix}"/bin