kind: distutils
depends:
- python-cliapp.bst
- python-wsgi.bst
sources:
- kind: git
  url: baserock:baserock/lorry-controller
  track: master
  ref: dddd2e37953d795e4004b1d2722c25ec652135ad
variables:
  python: python
config:
  install-commands:
    (>):
    - install -d 0755 "%{install-root}/etc/lighttpd"
    - install -m 0644 -D etc/lighttpd/*.conf "%{install-root}/etc/lighttpd/."
    - |
      TGT="%{install-root}/usr/lib/systemd/system"
      install -d "$TGT/multi-user.target.wants"
      install -m 0644 units/*.service units/*.timer "$TGT/."
