kind: autotools
depends:
- foundation.bst
- nfs/libevent.bst
- nfs/ti-rpc.bst
sources:
- kind: git
  url: upstream:nfs-utils
  track: baserock/master
  ref: 0da9f20a22bb32b2da6b587b4e85dafde087c0f7
config:
  configure-commands:
  - NOCONFIGURE=1 ./autogen.sh
  - ./configure --prefix="%{prefix}" --disable-nfsv4 --disable-nfsv41 --disable-gss
    --with-rpcgen=internal --without-tcp-wrappers
  install-commands:
  - make DESTDIR="%{install-root}" install
  - mkdir -p "%{install-root}"/lib/systemd/system
  - install -m644 proc-fs-nfsd.mount "%{install-root}"/lib/systemd/system
  - install -m644 nfs-mountd.service "%{install-root}"/lib/systemd/system
  - install -m644 nfs-server.service "%{install-root}"/lib/systemd/system
