summaryrefslogtreecommitdiffstats
path: root/extra/nfs-utils/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-05-19 21:27:25 +0200
committertnut <thierryn1 at hispeed dot ch>2010-05-19 21:27:25 +0200
commitcf04f3a3b88192c29c824628c7a69f1e6a416778 (patch)
treeed4ffc86646c4da42e51437372aa916fc0589f9d /extra/nfs-utils/Pkgfile
parent51a25658b41c205f1f29e397d11a0b76f6daee8c (diff)
downloadnutyx-pakxe-cf04f3a3b88192c29c824628c7a69f1e6a416778.tar.gz
nutyx-pakxe-cf04f3a3b88192c29c824628c7a69f1e6a416778.tar.bz2
nutyx-pakxe-cf04f3a3b88192c29c824628c7a69f1e6a416778.tar.xz
nutyx-pakxe-cf04f3a3b88192c29c824628c7a69f1e6a416778.zip
nfs-utils, déplacé dans extra
Diffstat (limited to 'extra/nfs-utils/Pkgfile')
-rwxr-xr-xextra/nfs-utils/Pkgfile33
1 files changed, 33 insertions, 0 deletions
diff --git a/extra/nfs-utils/Pkgfile b/extra/nfs-utils/Pkgfile
new file mode 100755
index 000000000..8be1664a0
--- /dev/null
+++ b/extra/nfs-utils/Pkgfile
@@ -0,0 +1,33 @@
+# 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: portmap
+
+name=nfs-utils
+version=1.2.0
+release=1
+source=(http://ftp.kernel.org/pub/linux/utils/nfs/$name-$version.tar.gz\
+ nfs-server nfs-server.sh)
+build() {
+source /etc/blfs-bootscripts
+wget \
+http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
+tar xvf $scripts-$scriptsversion.tar.bz2
+ # build package
+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
+cd ../$scripts-$scriptsversion
+make DESTDIR=$PKG install-nfs-server
+install -m 754 ../nfs-server.sh $PKG/etc/rc.d/init.d/nfs-server
+mkdir -p $PKG/etc/sysconfig
+install -m 644 ../nfs-server $PKG/etc/sysconfig/
+}