wok-6.x view unfs3/receipt @ rev 25174
updated python-flask (1.1.2 -> 1.1.4)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 01 17:16:59 2022 +0100 (2022-07-01) |
parents | 3105f866bc3e |
children | 7dd01dedad38 |
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://downloads.sourceforge.net/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 }