wok-6.x view dokuwiki/receipt @ rev 25421
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 10 07:02:08 2022 +0000 (2022-08-10) |
parents | 1a39a3d55d0e |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="dokuwiki"
4 VERSION="2020-07-29"
5 CATEGORY="development"
6 SHORT_DESC="DokuWiki is a simple to use Wiki aimed at the documentation needs of a smail company."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.dokuwiki.org/dokuwiki"
11 TARBALL="$PACKAGE-$VERSION.tgz"
12 WGET_URL="https://download.dokuwiki.org/src/$PACKAGE/$TARBALL"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - https://github.com/splitbrain/dokuwiki/tags 2>/dev/null | \
18 sed '/archive.*tar/!d;/candidate/d;s|.*/v*\(.*\).tar.*|\1|;s|.*stable_||;q'
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/var/www
25 cp -a $src $fs/var/www/dokuwiki
26 chown www.www -R $fs/var/www
27 }