wok-6.x annotate lionwiki/receipt @ rev 24495
updated dolibarr again (10.0.6 -> 14.0.5)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 19 13:42:19 2022 +0100 (2022-02-19) |
parents | 0e708393407e |
children | 9c057f96ed55 |
rev | line source |
---|---|
pascal@15574 | 1 # SliTaz package receipt. |
pascal@15574 | 2 |
pascal@15574 | 3 PACKAGE="lionwiki" |
pascal@15574 | 4 VERSION="3.2.9" |
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@15574 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@24465 | 10 WEB_SITE="http://lionwiki.0o.cz/index.php?page=Main+page" |
pascal@15574 | 11 WGET_URL="$WEB_SITE/download/$VERSION/$TARBALL" |
pascal@15574 | 12 CONFIG_FILES="/var/www/lionwikiss/config.php" |
pascal@16264 | 13 HOST_ARCH="any" |
pascal@15574 | 14 |
pascal@15574 | 15 DEPENDS="lighttpd php" |
pascal@15574 | 16 |
pascal@24465 | 17 # What is the latest version available today? |
pascal@24465 | 18 current_version() |
pascal@24465 | 19 { |
pascal@24465 | 20 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24465 | 21 sed 's|</li>|&\n|g' | sed '/was released/!d;s|.*LionWiki ||;s| .*||;q' |
pascal@24465 | 22 } |
pascal@24465 | 23 |
pascal@15574 | 24 # Rules to configure and make the package. |
pascal@15574 | 25 compile_rules() |
pascal@15574 | 26 { |
pascal@15574 | 27 cd $src |
pascal@15574 | 28 } |
pascal@15574 | 29 |
pascal@15574 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15574 | 31 genpkg_rules() |
pascal@15574 | 32 { |
pascal@15574 | 33 mkdir -p $fs/var/www |
pascal@15574 | 34 cp -a $src $fs/var/www/lionwiki |
pascal@15574 | 35 chown -R www.www $fs/var/www/lionwiki |
pascal@15574 | 36 } |