summaryrefslogtreecommitdiff
path: root/doc/examples/developing/elements/hello.bst
diff options
context:
space:
mode:
authorPhil Dawson <phil.dawson@codethink.co.uk>2018-06-27 11:58:30 +0100
committerPhil Dawson <phil.dawson@codethink.co.uk>2018-08-01 09:05:45 +0100
commit8c0522adde2a1dac10d52171cee701068e74631e (patch)
tree2ce52c293ccbb04e7b3cb37b6200b100d090ed6d /doc/examples/developing/elements/hello.bst
parent6cd3df09f36df55b28b613c8fcee48bae6722244 (diff)
downloadbuildstream-8c0522adde2a1dac10d52171cee701068e74631e.tar.gz
Add project for workspaces tutorial
This is part of the work towards issue #437
Diffstat (limited to 'doc/examples/developing/elements/hello.bst')
-rw-r--r--doc/examples/developing/elements/hello.bst22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/examples/developing/elements/hello.bst b/doc/examples/developing/elements/hello.bst
new file mode 100644
index 000000000..f7f21e01e
--- /dev/null
+++ b/doc/examples/developing/elements/hello.bst
@@ -0,0 +1,22 @@
+kind: manual
+description: |
+
+ Building manually
+
+# Depend on the base system
+depends:
+- base.bst
+
+# Stage the files/src directory for building
+sources:
+ - kind: local
+ path: files/src
+
+# Now configure the commands to run
+config:
+
+ build-commands:
+ - make PREFIX="%{prefix}"
+
+ install-commands:
+ - make -j1 PREFIX="%{prefix}" DESTDIR="%{install-root}" install