Browse Source

n/mediawiki: Added some extensions.

slackware-14.2
Damien Goutte-Gattat 11 years ago
parent
commit
7c9c0d74e6
  1. 7
      n/mediawiki/mediawiki.SlackBuild

7
n/mediawiki/mediawiki.SlackBuild

@ -35,7 +35,7 @@ WGET=${WGET:-http://download.wikimedia.org/mediawiki/${VERSION%.*}/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-mediawiki}
BUILD=${BUILD:-1GGD}
BUILD=${BUILD:-2GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i?86$/i486/;s/^arm.*/arm/')}
EXT=${EXT:-txz}
@ -88,6 +88,11 @@ mv COPYING CREDITS FAQ HISTORY INSTALL README RELEASE-NOTES UPGRADE docs \
# Remove useless files and directories
rm -rf *.php5 cache images math
# Install extensions
for ext in $CWD/extensions/*.tar.gz ; do
tar xf $ext -C extensions
done
# Install helper script
install -m 755 $CWD/create-mwiki.sh $PKG/usr/bin/create-mwiki

Loading…
Cancel
Save