wok-stable view unfs3/receipt @ rev 3494

get-softmodem-driver: automatic country detection added during slmodem install
author Dominique Corbex <domcox@users.sourceforge.net>
date Thu Jun 18 14:43:23 2009 +0200 (2009-06-18)
parents a075ff895254
children 06bea11c343c
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}"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --infodir=/usr/share/info \
18 --sysconfdir=/etc \
19 --mandir=/usr/share/man $CONFIGURE_ARGS
21 make
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin
28 install -g root -o root -m 0755 -s $src/unfsd $fs/usr/bin
30 mkdir -p $fs/etc/init.d
31 install -g root -o root -m 0644 stuff/etc/export $fs/etc
32 install -g root -o root -m 0755 stuff/etc/init.d/unfsd $fs/etc/init.d
33 }
35 post_install()
36 {
38 echo -e "\nTo starts $PACKAGE server you can run :\n"
39 echo "/etc/init.d/$PACKAGE start"
40 echo -e "Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf\n"
41 }