wok-6.x view nfs-utils/receipt @ rev 11060

pcmciautils: Fixed WGET_URL.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Oct 17 00:27:48 2011 +0000 (2011-10-17)
parents 163ab7bf6128
children a12535b48058
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 CONFIG_FILES="/etc/exports"
14 TAGS="filesystem"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --disable-nfsv4 --disable-gss \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a stuff/* $fs
33 cp -a $_pkg/var $fs
34 cp -a $_pkg/sbin $fs
35 cp -a $_pkg/usr/sbin $fs/usr
36 }
38 post_install()
39 {
40 grep ^nfs $1/etc/services ||
41 sed -i 's|.* 2401/tcp.*|nfs 2049/tcp\nnfs 2049/udp\n&|' $1/etc/services
42 [ -s $1/etc/exports ] || cat > $1/etc/exports <<EOT
43 #/home 192.168.0.0/255.255.255.0(rw,subtree_check)
44 EOT
45 }