summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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