summaryrefslogtreecommitdiff
path: root/strata/nfs/nfs-utils.morph
blob: 4bcb0f4227f87737a21d9d3842736d435f79b9e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
name: nfs-utils
kind: chunk
build-system: autotools
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="$DESTDIR" install
- mkdir -p "$DESTDIR$PREFIX"/lib/systemd/system
- install -m644 proc-fs-nfsd.mount "$DESTDIR$PREFIX"/lib/systemd/system
- install -m644 nfs-mountd.service "$DESTDIR$PREFIX"/lib/systemd/system
- install -m644 nfs-server.service "$DESTDIR$PREFIX"/lib/systemd/system
post-install-commands:
- |
  mkdir -p "$DESTDIR$PREFIX"/bin
  mv "$DESTDIR"/sbin "$DESTDIR$PREFIX"/bin
  rm -r "$DESTDIR"/sbin