summaryrefslogtreecommitdiff
path: root/doc/examples/filtering/elements/libhello.bst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/filtering/elements/libhello.bst')
-rw-r--r--doc/examples/filtering/elements/libhello.bst31
1 files changed, 31 insertions, 0 deletions
diff --git a/doc/examples/filtering/elements/libhello.bst b/doc/examples/filtering/elements/libhello.bst
new file mode 100644
index 000000000..9bb61abdc
--- /dev/null
+++ b/doc/examples/filtering/elements/libhello.bst
@@ -0,0 +1,31 @@
+kind: manual
+description: |
+
+ The libhello library
+
+# Depend on the base system
+depends:
+- base.bst
+
+# Stage the files/libhello directory for building
+sources:
+ - kind: local
+ path: files/libhello
+
+# Now configure the commands to run
+config:
+
+ build-commands:
+ - make PREFIX="%{prefix}"
+
+ install-commands:
+ - make -j1 PREFIX="%{prefix}" DESTDIR="%{install-root}" install
+
+public:
+ bst:
+ # Define a split domain which captures the defaults
+ # which this library installs into %{datadir}
+ #
+ split-rules:
+ defaults:
+ - "%{datadir}/libhello/default-person.txt"