summaryrefslogtreecommitdiffstats
path: root/nfs-utils/Pkgfile
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2012-01-22 11:38:02 +0100
committerpiernov <piernov@piernov.org>2012-01-22 11:38:02 +0100
commit50e5ce5b17e69be13228e2393c5804b0a79acfab (patch)
tree9845fa9af128d7fdd791755bb2be320f3ba2be4e /nfs-utils/Pkgfile
parent9626427c1a1d9c292fc519810c13b9a8073e777f (diff)
parent8548e8d6882b55dfb509b18dedfb7db17630037d (diff)
downloadnutyx-extra-50e5ce5b17e69be13228e2393c5804b0a79acfab.tar.gz
nutyx-extra-50e5ce5b17e69be13228e2393c5804b0a79acfab.tar.bz2
nutyx-extra-50e5ce5b17e69be13228e2393c5804b0a79acfab.tar.xz
nutyx-extra-50e5ce5b17e69be13228e2393c5804b0a79acfab.zip
Merged with http://kiao.no-ip.info/NuTyX/git/nutyx-pakxe → Repository splitted → nutyx-extra
Diffstat (limited to 'nfs-utils/Pkgfile')
-rwxr-xr-xnfs-utils/Pkgfile28
1 files changed, 28 insertions, 0 deletions
diff --git a/nfs-utils/Pkgfile b/nfs-utils/Pkgfile
new file mode 100755
index 000000000..efb12fc31
--- /dev/null
+++ b/nfs-utils/Pkgfile
@@ -0,0 +1,28 @@
+# 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 on: libevent
+# Run on: 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 "1i\#include <sys/stat.h>\n" utils/exportfs/exportfs.c
+sed -i "1i\#include <sys/stat.h>\n" utils/mount/mount.c
+sed -i "1i\#include <sys/stat.h>\n" utils/mount/network.c
+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
+}