wok view dokuwiki/receipt @ rev 25498
Up dropbear (2022.83)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 15 12:09:07 2022 +0000 (22 months ago) |
parents | 1a39a3d55d0e |
children | a5e183d53960 |
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 }