kind: manual
depends:
- core.bst
sources:
- kind: git
  url: upstream:lsof
  track: baserock/morph
  ref: fffb8558208586338587027c265fd0eca44466be
config:
  configure-commands:
  - tar xf lsof_*_src.tar --no-same-owner
  - cd lsof_*_src/ && ./Configure -n linux
  build-commands:
  - cd lsof_*_src/ && make
  install-commands:
  - mkdir -p "%{install-root}%{prefix}"/bin
  - mv lsof_*_src/lsof "%{install-root}%{prefix}"/bin/lsof
  - mkdir -p "%{install-root}%{prefix}"/man/man8
  - mv lsof_*_src/lsof.8 "%{install-root}%{prefix}"/man/man8
