diff options
Diffstat (limited to 'nfs-utils/Pkgfile')
-rw-r--r-- | nfs-utils/Pkgfile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/nfs-utils/Pkgfile b/nfs-utils/Pkgfile new file mode 100644 index 000000000..db5345658 --- /dev/null +++ b/nfs-utils/Pkgfile @@ -0,0 +1,31 @@ +# Description: NFS utilities +# URL: http://nfs.sourceforge.net/ +# Maintainer: Juergen Daubert, jue at crux dot nu +# Depends on: util-linux-ng libcap + +name=nfs-utils +version=1.2.2 +release=1 +source=(http://dl.sourceforge.net/nfs/$name-$version.tar.bz2 \ + exports nfs nfsserver) + +build () { + cd $name-$version + + ./configure --prefix=/usr \ + --mandir=/usr/man \ + --enable-nfsv3 \ + --disable-nfsv4 \ + --disable-gss \ + --disable-tirpc \ + --with-statedir=/var/lib/nfs \ + --sysconfdir=/etc + make + make DESTDIR=$PKG install + + rm $PKG/sbin/{mount,umount}.nfs4 + + install -D -m 755 $SRC/nfs $PKG/etc/rc.d/nfs + install -D -m 755 $SRC/nfsserver $PKG/etc/rc.d/nfsserver + install -D -m 644 $SRC/exports $PKG/etc/exports +} |