vp-build/templates/nfs-utils/template
Juan RP 3667f039f2 Install all packages via DESTDIR var and not prefix.
This removes many assignments that were needed before, and fixes
some packages to install its manpage/info files.

--HG--
extra : convert_revision : 5422f921ef81d089ed95ce0c52e5106ea10b2165
2009-03-18 10:02:43 +01:00

30 lines
994 B
Plaintext

# 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
}