kind: manual
depends:
- erlang.bst
- unmaintained/django.bst
- unmaintained/xstatic.bst
- openstack-clients.bst
- unmaintained/test-tools.bst
- python-tools.bst
sources:
- kind: git
  url: upstream:erlang-modules/erlang-sd_notify
  track: '0.1'
  ref: 99f4689c2c18570680329f822591f95f9341ca10
config:
  build-commands:
  - LDFLAGS=-lsystemd REBAR_FLAGS="--verbose 2" make
  install-commands:
  - install -D -m 644 -p ebin/sd_notify.app "%{install-root}%{prefix}"/lib/erlang/lib/sd_notify-0.1/ebin/sd_notify.app
  - install -D -m 644 -p ebin/sd_notify.beam "%{install-root}%{prefix}"/lib/erlang/lib/sd_notify-0.1/ebin/sd_notify.beam
  - install -D -m 755 -p priv/sd_notify_drv.so "%{install-root}%{prefix}"/lib/erlang/lib/sd_notify-0.1/priv/sd_notify_drv.so
