wok-next annotate squirrelmail-autorespond/receipt @ rev 21311

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