summaryrefslogtreecommitdiffstats
path: root/extra/nfs-utils/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-06-19 15:20:03 +0200
committertnut <thierryn1 at hispeed dot ch>2010-06-19 15:20:03 +0200
commitf6fd2fccc92bd13acd7650424c477b5e94d83203 (patch)
tree3f24ea4db246896c2cef0a8b30330fd40987d012 /extra/nfs-utils/Pkgfile
parentc652497c1b1360b1d471862f92df75cb18b6f34d (diff)
downloadnutyx-pakxe-f6fd2fccc92bd13acd7650424c477b5e94d83203.tar.gz
nutyx-pakxe-f6fd2fccc92bd13acd7650424c477b5e94d83203.tar.bz2
nutyx-pakxe-f6fd2fccc92bd13acd7650424c477b5e94d83203.tar.xz
nutyx-pakxe-f6fd2fccc92bd13acd7650424c477b5e94d83203.zip
nfs-utils, séparation client et serveur
Diffstat (limited to 'extra/nfs-utils/Pkgfile')
-rwxr-xr-xextra/nfs-utils/Pkgfile18
1 files changed, 4 insertions, 14 deletions
diff --git a/extra/nfs-utils/Pkgfile b/extra/nfs-utils/Pkgfile
index 8be1664a0..e19f3a3e0 100755
--- a/extra/nfs-utils/Pkgfile
+++ b/extra/nfs-utils/Pkgfile
@@ -2,19 +2,13 @@
# URL: http://nfs.sourceforge.net
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
-# Depends on: portmap
+# Depends: 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)
+release=2
+source=(http://ftp.kernel.org/pub/linux/utils/nfs/$name-$version.tar.gz)
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\
@@ -25,9 +19,5 @@ sed -i 's/getkversion//' tools/Makefile.in
--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/usr/{sbin,share/man/man{7,8}}
}