wok-4.x rev 6250

Add nfs-utils
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 13 16:41:09 2010 +0200 (2010-09-13)
parents f2b2d2f2961b
children 2c7616011d96
files nfs-utils/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/nfs-utils/receipt	Mon Sep 13 16:41:09 2010 +0200
     1.3 @@ -0,0 +1,34 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="nfs-utils"
     1.7 +VERSION="1.2.2"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="Network FileSystem tools."
    1.10 +MAINTAINER="pascal;bellard@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.12 +WEB_SITE="http://nfs.sourceforge.net/"
    1.13 +WGET_URL="$SF_MIRROR/nfs/$PACKAGE/$VERSION/$TARBALL"
    1.14 +DEPENDS="libtirpc"
    1.15 +BUILD_DEPENDS="libtirpc-dev util-linux-ng-blkid-dev"
    1.16 +TAGS="filesystem"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +	./configure --prefix=/usr --infodir=/usr/share/info \
    1.23 +	--disable-nfsv4 --disable-gss \
    1.24 +	--mandir=/usr/share/man \
    1.25 +	$CONFIGURE_ARGS &&
    1.26 +	make &&
    1.27 +	make DESTDIR=$PWD/_pkg install
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	mkdir -p $fs/usr
    1.34 +	cp -a $_pkg/var $fs
    1.35 +	cp -a $_pkg/sbin $fs
    1.36 +	cp -a $_pkg/usr/sbin $fs/usr
    1.37 +}