2006-02-23 15:26:10 +00:00
|
|
|
|
# Description: NFS utilities
|
|
|
|
|
# URL: http://nfs.sourceforge.net/
|
|
|
|
|
# Maintainer: Per Lid<69>n <per@fukt.bth.se>
|
|
|
|
|
|
|
|
|
|
name=nfs-utils
|
|
|
|
|
version=1.0.7
|
2006-02-23 18:02:25 +00:00
|
|
|
|
release=3
|
2006-02-23 15:26:10 +00:00
|
|
|
|
source=(http://dl.sourceforge.net/nfs/$name-$version.tar.gz \
|
2006-02-23 18:02:25 +00:00
|
|
|
|
$name-$version-gcc4.patch \
|
2006-02-23 15:26:10 +00:00
|
|
|
|
exports nfs nfsserver)
|
|
|
|
|
|
|
|
|
|
build () {
|
|
|
|
|
cd $name-$version
|
2006-02-23 18:02:25 +00:00
|
|
|
|
patch -p1 < ../$name-$version-gcc4.patch
|
2006-02-23 15:26:10 +00:00
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
|
--enable-nfsv3 \
|
|
|
|
|
--disable-nfsv4 \
|
|
|
|
|
--disable-gss \
|
|
|
|
|
--with-statedir=/var/lib/nfs \
|
|
|
|
|
--sysconfdir=/etc
|
|
|
|
|
make
|
|
|
|
|
make install_prefix=$PKG install
|
|
|
|
|
install -D -m 755 ../nfs $PKG/etc/rc.d/nfs
|
|
|
|
|
install -D -m 755 ../nfsserver $PKG/etc/rc.d/nfsserver
|
|
|
|
|
install -D -m 644 ../exports $PKG/etc/exports
|
|
|
|
|
}
|