32 lines
852 B
Plaintext
32 lines
852 B
Plaintext
|
# 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
|
||
|
}
|