wok-6.x annotate nfs-utils/receipt @ rev 11982

no extensions in desktop files
author Samuel Trassare <samuel_trassare@yahoo.com>
date Fri Mar 02 15:57:49 2012 -0800 (2012-03-02)
parents 7d89c62e5e81
children 73641efed1cc
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@7286 11 DEPENDS="libtirpc libwrap util-linux-ng-blkid util-linux-ng-uuid rpcbind linux-nfsd"
pascal@11377 12 BUILD_DEPENDS="libtirpc-dev util-linux-ng-blkid-dev libcap-dev libwrap-dev \
pascal@11377 13 util-linux-ng-uuid-dev"
pascal@7285 14 CONFIG_FILES="/etc/exports"
pascal@6250 15 TAGS="filesystem"
pascal@6250 16
pascal@6250 17 # Rules to configure and make the package.
pascal@6250 18 compile_rules()
pascal@6250 19 {
pascal@6250 20 cd $src
pascal@6250 21 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@6250 22 --disable-nfsv4 --disable-gss \
pascal@6250 23 --mandir=/usr/share/man \
pascal@6250 24 $CONFIGURE_ARGS &&
pascal@6250 25 make &&
pascal@6250 26 make DESTDIR=$PWD/_pkg install
pascal@6250 27 }
pascal@6250 28
pascal@6250 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@6250 30 genpkg_rules()
pascal@6250 31 {
pascal@6250 32 mkdir -p $fs/usr
pascal@7285 33 cp -a stuff/* $fs
pascal@6250 34 cp -a $_pkg/var $fs
pascal@6250 35 cp -a $_pkg/sbin $fs
pascal@6250 36 cp -a $_pkg/usr/sbin $fs/usr
pascal@6250 37 }
pascal@7285 38
pascal@7285 39 post_install()
pascal@7285 40 {
pascal@7285 41 grep ^nfs $1/etc/services ||
pascal@7285 42 sed -i 's|.* 2401/tcp.*|nfs 2049/tcp\nnfs 2049/udp\n&|' $1/etc/services
pascal@7285 43 [ -s $1/etc/exports ] || cat > $1/etc/exports <<EOT
pascal@7285 44 #/home 192.168.0.0/255.255.255.0(rw,subtree_check)
pascal@7285 45 EOT
pascal@7285 46 }