1 # Description: NFS utilities
2 # URL: http://nfs.sourceforge.net/
3 # Maintainer: Juergen Daubert, jue at crux dot nu
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
5 # Depends on: util-linux-ng tcp_wrappers libcap rpcbind libnfsidmap libevent keyutils
10 source=(http://downloads.sourceforge.net/project/nfs/$name/$version/$name-$version.tar.bz2 \
11 exports idmapd.conf nfs nfsserver $name-${version}_PAGE_SIZE.patch)
16 patch -p1 -i $SRC/$name-${version}_PAGE_SIZE.patch
17 ./configure --prefix=/usr \
20 --with-statedir=/var/lib/nfs \
24 make DESTDIR=$PKG install
26 install -D -m 755 $SRC/nfs $PKG/etc/rc.d/nfs
27 install -D -m 755 $SRC/nfsserver $PKG/etc/rc.d/nfsserver
28 install -D -m 644 $SRC/exports $PKG/etc/exports
29 install -D -m 644 $SRC/idmapd.conf $PKG/etc/idmapd.conf
31 install -d $PKG/var/lib/nfs/{rpc_pipefs,v4recovery}
32 install -d $PKG/etc/exports.d