wok view nfs-utils/receipt @ rev 11793
Up: squid-langpack (3.1.19)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Feb 25 01:01:14 2012 +0100 (2012-02-25) |
parents | 7d89c62e5e81 |
children | 73641efed1cc |
line source
1 # SliTaz package receipt.
3 PACKAGE="nfs-utils"
4 VERSION="1.2.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="Network FileSystem tools."
7 MAINTAINER="pascal;bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://nfs.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/nfs/$PACKAGE/$VERSION/$TARBALL"
11 DEPENDS="libtirpc libwrap util-linux-ng-blkid util-linux-ng-uuid rpcbind linux-nfsd"
12 BUILD_DEPENDS="libtirpc-dev util-linux-ng-blkid-dev libcap-dev libwrap-dev \
13 util-linux-ng-uuid-dev"
14 CONFIG_FILES="/etc/exports"
15 TAGS="filesystem"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --prefix=/usr --infodir=/usr/share/info \
22 --disable-nfsv4 --disable-gss \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a stuff/* $fs
34 cp -a $_pkg/var $fs
35 cp -a $_pkg/sbin $fs
36 cp -a $_pkg/usr/sbin $fs/usr
37 }
39 post_install()
40 {
41 grep ^nfs $1/etc/services ||
42 sed -i 's|.* 2401/tcp.*|nfs 2049/tcp\nnfs 2049/udp\n&|' $1/etc/services
43 [ -s $1/etc/exports ] || cat > $1/etc/exports <<EOT
44 #/home 192.168.0.0/255.255.255.0(rw,subtree_check)
45 EOT
46 }