kind: manual
depends:
- gnu-toolchain.bst
sources:
- kind: git
  url: upstream:bzip2
  track: baserock/morph
  ref: 8deafa68e52b230018c0318dc7959ff9af3ad2a5
config:
  configure-commands:
  - sed -i -rf bzip2.morph-makefix.sed Makefile
  build-commands:
  - make -f Makefile-libbz2_so
  - make
  install-commands:
  - make DESTDIR="%{install-root}" PREFIX="%{prefix}" install
  - install libbz2.so* "%{install-root}%{prefix}/lib"
