opt/nfs-utils/Pkgfile

32 lines
996 B
Plaintext
Raw Normal View History

2010-06-15 20:05:24 +02:00
# Description: NFS utilities
2010-03-02 11:27:07 +01:00
# URL: http://nfs.sourceforge.net/
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: util-linux-ng tcp_wrappers libcap rpcbind libnfsidmap libevent keyutils
2010-03-02 11:27:07 +01:00
name=nfs-utils
2011-10-04 09:19:49 +02:00
version=1.2.5
2010-10-06 18:02:57 +02:00
release=1
source=(http://downloads.sourceforge.net/project/nfs/$name/$version/$name-$version.tar.bz2 \
2010-06-15 20:05:24 +02:00
exports idmapd.conf nfs nfsserver)
2010-03-02 11:27:07 +01:00
build () {
cd $name-$version
./configure --prefix=/usr \
--mandir=/usr/man \
2010-06-15 20:05:24 +02:00
--sysconfdir=/etc \
2010-03-02 11:27:07 +01:00
--with-statedir=/var/lib/nfs \
2010-06-15 20:05:24 +02:00
--disable-gss \
--with-tcp-wrappers
2010-03-02 11:27:07 +01:00
make
make DESTDIR=$PKG install
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
2010-06-15 20:05:24 +02:00
install -D -m 644 $SRC/idmapd.conf $PKG/etc/idmapd.conf
install -d $PKG/var/lib/nfs/{rpc_pipefs,v4recovery}
install -d $PKG/etc/exports.d
2010-03-02 11:27:07 +01:00
}