vp-build/templates/nfs-utils/template

30 lines
994 B
Plaintext
Raw Normal View History

# Template file for 'nfs-utils'
pkgname=nfs-utils
version=1.1.5
distfiles="http://downloads.sf.net/nfs/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--with-statduser=nobody --disable-gss --disable-nfsv4
--enable-nfsv3 --with-statedir=/var/lib/nfs --enable-mount"
short_desc="Network File System utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=9a5da7cd85dc9087222ab348ce82577c38547177d5d4dc7fccc9e939c97d47dc
long_desc="
The $pkgname package provides a daemon for the kernel NFS server and
related tools, which provides a much higher level of performance than the
traditional Linux NFS server used by most users."
Add_dependency full glibc
Add_dependency full portmap
Add_dependency build e2fsprogs
Add_dependency build tcp_wrappers
Add_dependency run e2fsprogs-libs
Add_dependency run tcp_wrappers-libs
post_install()
{
# Install the rc.d scripts.
for f in mountd nfsd nfslock; do
install -D -m755 ${FILESDIR}/${f} ${DESTDIR}/etc/rc.d/${f}
done
}