wok-next view unfs3/receipt @ rev 21149
Small updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jan 30 23:32:57 2019 +0200 (2019-01-30) |
parents | 757d032c55c7 |
children |
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="devel@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://unfs3.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$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" ] || cat <<EOT
35 .----------------------------------------------.
36 | To start unfs3 server you can run: |
37 | /etc/init.d/unfsd start |
38 | |
39 | Or add unfsd to RUN_DAEMONS in /etc/rcS.conf |
40 '----------------------------------------------'
41 EOT
42 }