wok-6.x view 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 |
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;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 }