summaryrefslogtreecommitdiffstats
path: root/extra/nfs-utils/Pkgfile
blob: d17e526cc86f58897cc33b625e5c66a27cee4380 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Description: Utilitaires pour le système de fichiers nfs
# URL: http://nfs.sourceforge.net
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends: portmap

name=nfs-utils
version=1.2.0
release=3
source=(http://ftp.kernel.org/pub/linux/utils/nfs/$name-$version.tar.gz)
build() {
cd $name-$version
sed -i 's/getkversion//' tools/Makefile.in
./configure --prefix=/usr\
	--sysconfdir=/etc\
	--mandir=/usr/share/man\
	--infodir=/usr/share/info\
        --disable-nfsv4 \
        --disable-gss
make
make DESTDIR=$PKG install
rm -r $PKG/{var,usr/share/man/man{7,8}}
mkdir -p $PKG/var/lib/nfs
}