kind: autotools
description: ofono Open Source Telephony
depends:
- connectivity.bst
- glib-common.bst
sources:
- kind: git
  url: upstream:ofono
  track: '1.19'
  ref: e51b39e92cffb30c4bc0f95a1c24b9ee9ce22b54
config:
  configure-commands:
  - autoreconf -ivf
  - ./configure --prefix="%{prefix}" --sysconfdir=/etc --localstatedir=/var
  install-commands:
  - '%{make-install}'
  - mkdir -p "%{install-root}/etc/systemd/system/multi-user.target.wants"
  - ln -s /lib/systemd/system/ofono.service "%{install-root}/etc/systemd/system/multi-user.target.wants/ofono.service"
