wok-6.x annotate dokuwiki/receipt @ rev 25107

Up open-iscsi (2.0.873)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 22 17:23:49 2022 +0000 (2022-06-22)
parents 8d83e2a77e2f
children fbe88431f963
rev   line source
slaxemulator@8821 1 # SliTaz package receipt.
slaxemulator@8821 2
slaxemulator@8821 3 PACKAGE="dokuwiki"
pascal@24699 4 VERSION="2020-07-29"
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"
pascal@24699 12 WGET_URL="https://download.dokuwiki.org/src/$PACKAGE/$TARBALL"
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@24699 18 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;s|.*stable_||;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 }