wok view lionwiki/receipt @ rev 25770

dool,fake-hwclock,gtkam,xfce4-*-plugin,xlogo: add current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 06 11:29:23 2024 +0000 (2 months ago)
parents 535c806240cc
children
line source
1 # SliTaz package receipt.
3 PACKAGE="lionwiki"
4 VERSION="3.2.12"
5 CATEGORY="office"
6 SHORT_DESC="Minimalist Wiki engine programmed in PHP."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://lionwiki.0o.cz/index.php?page=Main+page"
11 TARBALL="$PACKAGE-$VERSION.zip"
12 WGET_URL="http://lionwiki.0o.cz/download/$VERSION/$TARBALL"
14 DEPENDS="lighttpd php"
16 CONFIG_FILES="/var/www/lionwikiss/config.php"
18 HOST_ARCH="any"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - $WEB_SITE 2>/dev/null | \
24 sed 's|</li>|&\n|g' | sed '/was released/!d;s|.*LionWiki ||;s| .*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 cd $src
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/var/www
37 cp -a $src $fs/var/www/lionwiki
38 chown -R www.www $fs/var/www/lionwiki
39 }