kind: autotools
depends:
- foundation.bst
- sound-server-pulseaudio.bst
- cpp-common-libs.bst
sources:
- kind: git
  url: upstream:itzam-tarball
  track: baserock/genivi/baseline
  ref: 4ebcf671416927b64475da7b810b6016c847bf73
config:
  configure-commands:
    (<):
    - sed -i 's/GENERIC_LIBRARY_NAME=libitzam/GENERIC_LIBRARY_NAME=itzam/g' configure.ac
    - mkdir m4
    - touch NEWS README AUTHORS ChangeLog
    - autoreconf -ivf
  install-commands:
    (>):
    - install -D -m644 libitzam.pc "%{install-root}%{prefix}/lib/pkgconfig/libitzam.pc"
