wok-next view unfs3/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 23c3aed67cd9 |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://unfs3.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://ovh.dl.sourceforge.net/sourceforge/unfs3/${TARBALL}"
14 BUILD_DEPENDS="flex"
16 compile_rules() {
17 ./configure $CONFIGURE_ARGS &&
18 make || return 1
20 install -Dm755 $src/unfsd $install/usr/bin/unfsd
21 install -Dm644 $stuff/etc/exports $install/etc/exports
22 install -Dm755 $stuff/etc/init.d/unfsd $install/etc/init.d/unfsd
23 }
25 genpkg_rules() {
26 copy @std
27 DEPENDS="portmap"
28 TAGS="network nfs"
29 CONFIG_FILES="/etc/exports"
30 }
32 post_install() {
33 [ -n "$quiet" ] ||
34 cat <<EOT
36 .----------------------------------------------.
37 | To start unfs3 server you can run: |
38 | /etc/init.d/unfsd start |
39 | |
40 | Or add unfsd to RUN_DAEMONS in /etc/rcS.conf |
41 '----------------------------------------------'
42 EOT
43 }