wok annotate dokuwiki/receipt @ rev 24493

updated dokuwiki (20180422b -> 20200729)
author Hans-G?nter Theisgen
date Sat Feb 19 11:02:17 2022 +0100 (2022-02-19)
parents d8c511e24c20
children 1a39a3d55d0e
rev   line source
slaxemulator@8821 1 # SliTaz package receipt.
slaxemulator@8821 2
slaxemulator@8821 3 PACKAGE="dokuwiki"
Hans-G?nter@24493 4 VERSION="20200729"
slaxemulator@8821 5 CATEGORY="development"
slaxemulator@8821 6 SHORT_DESC="DokuWiki is a simple to use Wiki aimed at the documentation needs of a smail company."
slaxemulator@8821 7 MAINTAINER="slaxemulator@gmail.com"
pascal@15579 8 LICENSE="GPL2"
Hans-G?nter@20841 9 WEB_SITE="https://www.dokuwiki.org/dokuwiki"
Hans-G?nter@20841 10
slaxemulator@8821 11 TARBALL="$PACKAGE-$VERSION.tgz"
Hans-G?nter@24493 12 WGET_URL="https://download.dokuwiki.org/src/$PACKAGE/$PACKAGE-2020-07-29.tgz"
slaxemulator@8821 13
pascal@24491 14 # What is the latest version available today?
pascal@24491 15 current_version()
pascal@24491 16 {
pascal@24491 17 wget -O - https://github.com/splitbrain/dokuwiki/tags 2>/dev/null | \
pascal@24491 18 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;s|.*stable_||;s|-||g;q'
pascal@24491 19 }
pascal@24491 20
slaxemulator@8821 21 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@8821 22 genpkg_rules()
slaxemulator@8821 23 {
slaxemulator@8821 24 mkdir -p $fs/var/www
Hans-G?nter@24493 25 cp -a $src $fs/var/www/dokuwiki
Hans-G?nter@24493 26 chown www.www -R $fs/var/www
slaxemulator@8821 27 }