diff options
author | tnut <thierryn1 at hispeed dot ch> | 2010-06-19 15:57:41 +0200 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2010-06-19 15:57:41 +0200 |
commit | c616604ebf31e5d101ad3ca783c7c7674883a36e (patch) | |
tree | 697252ebee4438789c114b25d793546c10cf3d47 /extra/nfs-utils-server/Pkgfile | |
parent | bf0fa62f1e94a0e39e1d41bee3890826b0912db3 (diff) | |
download | nutyx-extra-c616604ebf31e5d101ad3ca783c7c7674883a36e.tar.gz nutyx-extra-c616604ebf31e5d101ad3ca783c7c7674883a36e.tar.bz2 nutyx-extra-c616604ebf31e5d101ad3ca783c7c7674883a36e.tar.xz nutyx-extra-c616604ebf31e5d101ad3ca783c7c7674883a36e.zip |
Ajout nfs-utils-server
Diffstat (limited to 'extra/nfs-utils-server/Pkgfile')
-rwxr-xr-x | extra/nfs-utils-server/Pkgfile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/extra/nfs-utils-server/Pkgfile b/extra/nfs-utils-server/Pkgfile new file mode 100755 index 000000000..28cf7f5c9 --- /dev/null +++ b/extra/nfs-utils-server/Pkgfile @@ -0,0 +1,34 @@ +# 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: nfs-utils + +name=nfs-utils-server +version=1.2.0 +release=1 +source=(http://ftp.kernel.org/pub/linux/utils/nfs/nfs-utils-$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 nfs-utils-$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/ +rm -r $PKG/{sbin,usr/share/man/man5} +} |