diff options
author | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-07 14:34:16 +0200 |
---|---|---|
committer | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-07 14:34:16 +0200 |
commit | 7d3362ec31e6f95c80cd14f148185bbf369453d6 (patch) | |
tree | fdc6ebf1e0ce2326e8ae95270f57f14b6aaa791b /base/nfs-utils/Pkgfile | |
parent | 1b975b55bf2820be6e468754000ef6bc580baac8 (diff) | |
download | nutyx-pakxe-7d3362ec31e6f95c80cd14f148185bbf369453d6.tar.gz nutyx-pakxe-7d3362ec31e6f95c80cd14f148185bbf369453d6.tar.bz2 nutyx-pakxe-7d3362ec31e6f95c80cd14f148185bbf369453d6.tar.xz nutyx-pakxe-7d3362ec31e6f95c80cd14f148185bbf369453d6.zip |
Ajout de nfs-utils#1.2.0-1
Diffstat (limited to 'base/nfs-utils/Pkgfile')
-rwxr-xr-x | base/nfs-utils/Pkgfile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/base/nfs-utils/Pkgfile b/base/nfs-utils/Pkgfile new file mode 100755 index 000000000..8be1664a0 --- /dev/null +++ b/base/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/ +} |