wok view unfs3/receipt @ rev 25503

f3: include extra programs
author Hans-G?nter Theisgen
date Fri Jan 27 10:37:43 2023 +0100 (21 months ago)
parents 7dd01dedad38
children 29df00e1e19d
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="https://unfs3.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/project/unfs3/unfs3/$VERSION/$TARBALL"
12 TAGS="network nfs"
13 CONFIG_FILES="/etc/exports"
15 DEPENDS="portmap"
16 BUILD_DEPENDS="flex"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://sourceforge.net/projects/unfs3/files/unfs3/ 2>/dev/null | \
22 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
23 sed '/scope="row/!d;s|.*/unfs3/||;s|/.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure --prefix=/usr --infodir=/usr/share/info \
30 --sysconfdir=/etc \
31 --mandir=/usr/share/man $CONFIGURE_ARGS &&
32 make -j 1
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/bin
39 install -g root -o root -m 0755 -s $src/unfsd $fs/usr/bin
41 mkdir -p $fs/etc/init.d
42 install -g root -o root -m 0644 stuff/etc/exports $fs/etc
43 install -g root -o root -m 0755 stuff/etc/init.d/unfsd $fs/etc/init.d
44 }
46 post_install()
47 {
49 echo -e "\nTo starts $PACKAGE server you can run :\n"
50 echo "/etc/init.d/$PACKAGE start"
51 echo -e "Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf\n"
52 }