wok view unfs3/receipt @ rev 5289

Up: libssl (1.0.0) Match openssl
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 18 20:56:58 2010 +0200 (2010-04-18)
parents 06bea11c343c
children f6d334f2cb4d
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://unfs3.sourceforge.net/"
11 WGET_URL="http://ovh.dl.sourceforge.net/sourceforge/unfs3/${TARBALL}"
12 TAGS="network nfs"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --sysconfdir=/etc \
20 --mandir=/usr/share/man $CONFIGURE_ARGS
22 make
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/bin
29 install -g root -o root -m 0755 -s $src/unfsd $fs/usr/bin
31 mkdir -p $fs/etc/init.d
32 install -g root -o root -m 0644 stuff/etc/exports $fs/etc
33 install -g root -o root -m 0755 stuff/etc/init.d/unfsd $fs/etc/init.d
34 }
36 post_install()
37 {
39 echo -e "\nTo starts $PACKAGE server you can run :\n"
40 echo "/etc/init.d/$PACKAGE start"
41 echo -e "Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf\n"
42 }