wok-current view unfs3/receipt @ rev 16036
ARM: remove audiofile (dont compile on tank) and add xorg-recordproto
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 09 03:50:37 2014 +0100 (2014-03-09) |
parents | cb16742e0fa6 |
children | 951896e3e5b3 |
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 LICENSE="BSD"
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"
13 CONFIG_FILES="/etc/exports"
15 DEPENDS="portmap"
16 BUILD_DEPENDS="flex"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure --prefix=/usr --infodir=/usr/share/info \
23 --sysconfdir=/etc \
24 --mandir=/usr/share/man $CONFIGURE_ARGS &&
25 make
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin
32 install -g root -o root -m 0755 -s $src/unfsd $fs/usr/bin
34 mkdir -p $fs/etc/init.d
35 install -g root -o root -m 0644 stuff/etc/exports $fs/etc
36 install -g root -o root -m 0755 stuff/etc/init.d/unfsd $fs/etc/init.d
37 }
39 post_install()
40 {
42 echo -e "\nTo starts $PACKAGE server you can run :\n"
43 echo "/etc/init.d/$PACKAGE start"
44 echo -e "Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf\n"
45 }