wok-6.x view lionwiki/receipt @ rev 24477
updated dialog and dialog-dev (1.3_20210324 -> 1.3_20220117)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 18 10:50:23 2022 +0100 (2022-02-18) |
parents | 0e708393407e |
children | 9c057f96ed55 |
line source
1 # SliTaz package receipt.
3 PACKAGE="lionwiki"
4 VERSION="3.2.9"
5 CATEGORY="office"
6 SHORT_DESC="Minimalist Wiki engine programmed in PHP."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://lionwiki.0o.cz/index.php?page=Main+page"
11 WGET_URL="$WEB_SITE/download/$VERSION/$TARBALL"
12 CONFIG_FILES="/var/www/lionwikiss/config.php"
13 HOST_ARCH="any"
15 DEPENDS="lighttpd php"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed 's|</li>|&\n|g' | sed '/was released/!d;s|.*LionWiki ||;s| .*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/var/www
34 cp -a $src $fs/var/www/lionwiki
35 chown -R www.www $fs/var/www/lionwiki
36 }