| 1 |
kind: manual |
| 2 |
description: | |
| 3 |
|
| 4 |
A hello world program with a custom greeting message |
| 5 |
|
| 6 |
# Depend on the base system |
| 7 |
depends: |
| 8 |
- base.bst |
| 9 |
|
| 10 |
# Stage the files/src directory for building |
| 11 |
sources: |
| 12 |
- kind: local |
| 13 |
path: files/src |
| 14 |
|
| 15 |
# This include file defines the %{greeting} variable used below |
| 16 |
variables: |
| 17 |
(@): include/greeting.bst |
| 18 |
|
| 19 |
# Now configure the commands to run |
| 20 |
config: |
| 21 |
|
| 22 |
# This time we inform the Makefile of which greeting we want |
| 23 |
build-commands: |
| 24 |
- make PREFIX="%{prefix}" GREETING="%{greeting}" |
| 25 |
|
| 26 |
install-commands: |
| 27 |
- make -j1 PREFIX="%{prefix}" DESTDIR="%{install-root}" install |