kind: cmake
description: Automotive Message Broker framework
depends:
- cpp-common-libs.bst
- glib-common.bst
sources:
- kind: git
  url: upstream:automotive-message-broker
  track: '0.14'
  ref: 5cac4bd2958ea24ac6913be5baa0dfcda6466089
config:
  install-commands:
    (>):
    - mkdir -p "%{install-root}/usr/lib/systemd/system"
    - |
      cat >"%{install-root}/usr/lib/systemd/system/ambd.service" <<EOF
      [Unit]
      Description=Automotive Message Broker
      After=syslog.target

      [Service]
      Type=dbus
      BusName=org.automotive.message.broker
      ExecStart=/usr/bin/ambd

      [Install]
      WantedBy=multi-user.target
      EOF
