wok-current view unfs3/receipt @ rev 10915

evince: update deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 02 08:49:43 2011 +0200 (2011-08-02)
parents f6d334f2cb4d
children 23c3aed67cd9
line source
1 # SliTaz package receipt.
3 PACKAGE="unfs3"
4 VERSION="0.9.22"
5 CATEGORY="network"
6 SHORT_DESC="User-land NFSv3 Server"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="portmap"
9 BUILD_DEPENDS="flex"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://unfs3.sourceforge.net/"
12 WGET_URL="http://ovh.dl.sourceforge.net/sourceforge/unfs3/${TARBALL}"
13 TAGS="network nfs"
14 CONFIG_FILES="/etc/exports"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --sysconfdir=/etc \
22 --mandir=/usr/share/man $CONFIGURE_ARGS &&
23 make
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/bin
30 install -g root -o root -m 0755 -s $src/unfsd $fs/usr/bin
32 mkdir -p $fs/etc/init.d
33 install -g root -o root -m 0644 stuff/etc/exports $fs/etc
34 install -g root -o root -m 0755 stuff/etc/init.d/unfsd $fs/etc/init.d
35 }
37 post_install()
38 {
40 echo -e "\nTo starts $PACKAGE server you can run :\n"
41 echo "/etc/init.d/$PACKAGE start"
42 echo -e "Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf\n"
43 }