wok-next annotate squirrelmail-vkeyboard/receipt @ rev 21231

updated clamtk (4.36 -> 5.27)
author Hans-G?nter Theisgen
date Tue Dec 03 17:21:10 2019 +0100 (2019-12-03)
parents c4e53a39395a
children
rev   line source
pascal@1202 1 # SliTaz package receipt.
pascal@1202 2
pascal@1202 3 PACKAGE="squirrelmail-vkeyboard"
pascal@1202 4 VERSION="0.9.1"
pascal@1202 5 CATEGORY="network"
al@21020 6 SHORT_DESC="Virtual keyboard plugin for Web mail"
pascal@1202 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15200 8 LICENSE="GPL2"
pascal@1202 9 SOURCE="vkeyboard"
pascal@1202 10 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@1202 11 WEB_SITE="http://www.squirrelmail.org/"
pascal@1202 12 WGET_URL="${WEB_SITE}plugins/$TARBALL"
pascal@2260 13 CONFIG_FILES="/etc/squirrelmail/config-$SOURCE.php"
pascal@1202 14
pascal@15200 15 DEPENDS="squirrelmail"
pascal@15200 16
al@21020 17 compile_rules() {
al@21020 18 mkdir -p $install
al@21020 19 cp -a $src $install/$SOURCE
pascal@9036 20 }
pascal@9036 21
al@21020 22 genpkg_rules() {
pascal@1219 23 mkdir -p $fs/usr/share/squirrelmail/plugins $fs/etc/squirrelmail
pascal@15200 24 cp -a $install/$SOURCE $fs/usr/share/squirrelmail/plugins
pascal@1202 25 mv $fs/usr/share/squirrelmail/plugins/$SOURCE/config.php.sample \
pascal@2260 26 $fs/etc/squirrelmail/config-$SOURCE.php
pascal@2260 27 ln -s /etc/squirrelmail/config-$SOURCE.php \
pascal@1202 28 $fs/usr/share/squirrelmail/plugins/$SOURCE/config.php
pascal@1202 29 }
pascal@1202 30
al@21020 31 post_install() {
pascal@18730 32 echo "\$plugins[] = '$SOURCE';" >> "$1/etc/squirrelmail/config_local.php"
pascal@1202 33 }
pascal@2245 34
al@21020 35 pre_remove() {
pascal@2245 36 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php
pascal@2245 37 }