wok-current annotate nfs-utils/receipt @ rev 15512

Up: thunderbird-langpack-es_AR (17.0.10esr)
author Dominique Corbex <domcox@slitaz.org>
date Tue Nov 19 22:24:18 2013 +0100 (2013-11-19)
parents 8387b6915400
children ac2ee8823dfa
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@13025 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
pascal@6250 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@6250 10 WEB_SITE="http://nfs.sourceforge.net/"
pascal@6250 11 WGET_URL="$SF_MIRROR/nfs/$PACKAGE/$VERSION/$TARBALL"
pascal@15000 12 CONFIG_FILES="/etc/exports"
pascal@15000 13 TAGS="filesystem"
pascal@15000 14
pascal@12634 15 DEPENDS="libtirpc libwrap util-linux-blkid util-linux-uuid rpcbind linux-nfsd"
pankso@12481 16 BUILD_DEPENDS="libtirpc-dev util-linux-blkid-dev libcap-dev libwrap-dev \
pascal@12580 17 util-linux-uuid-dev util-linux-blkid"
pascal@6250 18
pascal@6250 19 # Rules to configure and make the package.
pascal@6250 20 compile_rules()
pascal@6250 21 {
pascal@6250 22 cd $src
pascal@6250 23 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@6250 24 --disable-nfsv4 --disable-gss \
pascal@6250 25 --mandir=/usr/share/man \
pascal@6250 26 $CONFIGURE_ARGS &&
pascal@6250 27 make &&
pascal@15000 28 make DESTDIR=$DESTDIR install
pascal@6250 29 }
pascal@6250 30
pascal@6250 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@6250 32 genpkg_rules()
pascal@6250 33 {
pascal@6250 34 mkdir -p $fs/usr
pascal@7285 35 cp -a stuff/* $fs
pascal@15000 36 cp -a $install/var $fs
pascal@15000 37 cp -a $install/sbin $fs
pascal@15000 38 cp -a $install/usr/sbin $fs/usr
pascal@6250 39 }
pascal@7285 40
pascal@7285 41 post_install()
pascal@7285 42 {
pascal@7285 43 grep ^nfs $1/etc/services ||
pascal@7285 44 sed -i 's|.* 2401/tcp.*|nfs 2049/tcp\nnfs 2049/udp\n&|' $1/etc/services
pascal@7285 45 [ -s $1/etc/exports ] || cat > $1/etc/exports <<EOT
pascal@7285 46 #/home 192.168.0.0/255.255.255.0(rw,subtree_check)
pascal@7285 47 EOT
pascal@7285 48 }