wok-next annotate unfs3/receipt @ rev 20561

Up rrdtool (1.7.0)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Apr 10 00:40:27 2018 +0300 (2018-04-10)
parents 23c3aed67cd9
children d5aab818505e
rev   line source
al@20534 1 # SliTaz package receipt v2.
erjo@171 2
erjo@171 3 PACKAGE="unfs3"
erjo@2984 4 VERSION="0.9.22"
pankso@211 5 CATEGORY="network"
erjo@171 6 SHORT_DESC="User-land NFSv3 Server"
erjo@784 7 MAINTAINER="erjo@slitaz.org"
pascal@15601 8 LICENSE="BSD"
al@20534 9 WEB_SITE="http://unfs3.sourceforge.net/"
al@20534 10
erjo@171 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
erjo@171 12 WGET_URL="http://ovh.dl.sourceforge.net/sourceforge/unfs3/${TARBALL}"
erjo@171 13
pascal@15601 14 BUILD_DEPENDS="flex"
pascal@15601 15
al@20534 16 compile_rules() {
al@20534 17 ./configure $CONFIGURE_ARGS &&
al@20534 18 make || return 1
al@20534 19
al@20534 20 install -Dm755 $src/unfsd $install/usr/bin/unfsd
al@20534 21 install -Dm644 $stuff/etc/exports $install/etc/exports
al@20534 22 install -Dm755 $stuff/etc/init.d/unfsd $install/etc/init.d/unfsd
erjo@171 23 }
erjo@171 24
al@20534 25 genpkg_rules() {
al@20534 26 copy @std
al@20534 27 DEPENDS="portmap"
al@20534 28 TAGS="network nfs"
al@20534 29 CONFIG_FILES="/etc/exports"
erjo@171 30 }
erjo@171 31
al@20534 32 post_install() {
al@20534 33 [ -n "$quiet" ] ||
al@20534 34 cat <<EOT
erjo@171 35
al@20534 36 .----------------------------------------------.
al@20534 37 | To start unfs3 server you can run: |
al@20534 38 | /etc/init.d/unfsd start |
al@20534 39 | |
al@20534 40 | Or add unfsd to RUN_DAEMONS in /etc/rcS.conf |
al@20534 41 '----------------------------------------------'
al@20534 42 EOT
erjo@171 43 }