wok view mediawiki/receipt @ rev 24284
updated sleuthkit and sleuthkit-dev (4.8.0 -> 4.11.1)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jan 13 07:54:46 2022 +0100 (2022-01-13) |
parents | c9ea8c14470e |
children | 241fb98cab1c |
line source
1 # SliTaz package receipt.
3 PACKAGE="mediawiki"
4 VERSION="1.34.1"
5 CATEGORY="network"
6 SHORT_DESC="MediaWiki engine."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.mediawiki.org/wiki/MediaWiki"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://download.wikimedia.org/mediawiki/${VERSION%.*}/$TARBALL"
14 DEPENDS="php"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 mkdir -p $fs/usr/share/webapps
20 mkdir -p $fs/etc/webapps/mediawiki
22 cp -a $src $fs/usr/share/webapps/mediawiki
23 # sed -i -e 's#is_executable#is_file#' $fs/includes/Math.php
24 echo "deny from all" >> $fs/etc/webapps/mediawiki/.htaccess
25 ln -sf /etc/webapps/mediawiki/.htaccess $fs/usr/share/webapps/mediawiki/.htaccess
27 # move cache and images to /var
28 install -vdm0755 -o www -g www $fs/var/cache/mediawiki
29 install -vdm0755 -o www -g www $fs/var/lib/mediawiki
30 cd $fs/usr/share/webapps/mediawiki
31 mv cache/.htaccess $fs/var/cache/mediawiki
32 rmdir cache
33 ln -sf /var/cache/mediawiki cache
35 mv images/* $fs/var/lib/mediawiki
36 mv images/.htaccess $fs/var/lib/mediawiki
37 rmdir images
38 ln -sf /var/lib/mediawiki images
39 }