kind: autotools
depends:
- foundation.bst
- nfs/ti-rpc.bst
sources:
- kind: git
  url: upstream:rpcbind
  track: baserock/master
  ref: aa3ac0d86c258d3e355ae59df31a96da795ecdfa
config:
  configure-commands:
  - NOCONFIGURE=1 ./autogen.sh
  - ./configure --prefix="%{prefix}" --with-rpcuser=nobody --enable-warmstarts
  install-commands:
  - make DESTDIR="%{install-root}" install
  - mkdir -p "%{install-root}"/lib/systemd/system
  - install -m644 rpcbind.service "%{install-root}"/lib/systemd/system
  - install -m644 rpcbind.socket "%{install-root}"/lib/systemd/system
