kind: manual
depends:
- erlang.bst
- unmaintained/django.bst
- unmaintained/xstatic.bst
- openstack-clients.bst
- unmaintained/test-tools.bst
- python-tools.bst
- unmaintained/openstack-services/rabbitmq-codegen.bst
sources:
- kind: git
  url: upstream:rabbitmq-server
  track: baserock/master
  ref: 9afcf9b95d2c53f866e9a33ddce46562f8950ded
config:
  configure-commands:
  - mkdir -p codegen
  - cp /usr/lib/rabbitmq-codegen/* codegen
  build-commands:
  - make
  install-commands:
  - |
    make install_bin TARGET_DIR="%{install-root}%{prefix}" \
                     SBIN_DIR="%{install-root}%{prefix}"/sbin \
                     MAN_DIR="%{prefix}"/share/man \
                     DOC_INSTALL_DIR="%{prefix}"/share
  - rm "%{install-root}%{prefix}"/LICENSE* "%{install-root}%{prefix}"/INSTALL
