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