wok-current annotate nfs-utils/receipt @ 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
children 2c7616011d96
rev   line source
pascal@6250 1 # SliTaz package receipt.
pascal@6250 2
pascal@6250 3 PACKAGE="nfs-utils"
pascal@6250 4 VERSION="1.2.2"
pascal@6250 5 CATEGORY="system-tools"
pascal@6250 6 SHORT_DESC="Network FileSystem tools."
pascal@6250 7 MAINTAINER="pascal;bellard@slitaz.org"
pascal@6250 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@6250 9 WEB_SITE="http://nfs.sourceforge.net/"
pascal@6250 10 WGET_URL="$SF_MIRROR/nfs/$PACKAGE/$VERSION/$TARBALL"
pascal@6250 11 DEPENDS="libtirpc"
pascal@6250 12 BUILD_DEPENDS="libtirpc-dev util-linux-ng-blkid-dev"
pascal@6250 13 TAGS="filesystem"
pascal@6250 14
pascal@6250 15 # Rules to configure and make the package.
pascal@6250 16 compile_rules()
pascal@6250 17 {
pascal@6250 18 cd $src
pascal@6250 19 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@6250 20 --disable-nfsv4 --disable-gss \
pascal@6250 21 --mandir=/usr/share/man \
pascal@6250 22 $CONFIGURE_ARGS &&
pascal@6250 23 make &&
pascal@6250 24 make DESTDIR=$PWD/_pkg install
pascal@6250 25 }
pascal@6250 26
pascal@6250 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@6250 28 genpkg_rules()
pascal@6250 29 {
pascal@6250 30 mkdir -p $fs/usr
pascal@6250 31 cp -a $_pkg/var $fs
pascal@6250 32 cp -a $_pkg/sbin $fs
pascal@6250 33 cp -a $_pkg/usr/sbin $fs/usr
pascal@6250 34 }