summaryrefslogtreecommitdiff
path: root/doc/examples/strict-mode/elements/hello-static.bst
blob: 63806d1842daf2b838b8aeb43cde50c9395f3ab7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
kind: manual
description: |

  The statically linked hello application

# Depend on the hello library with the strict option
#
depends:
- filename: libhello.bst
  strict: true

# Stage the files/hello directory for building
sources:
  - kind: local
    path: files/hello

# Now configure the commands to run
config:

  build-commands:
  - make -f Makefile.static PREFIX="%{prefix}"

  install-commands:
  - make -f Makefile.static -j1 PREFIX="%{prefix}" DESTDIR="%{install-root}" install