wok-next view squirrelmail-spamassassin/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents c4e53a39395a
children
line source
1 # SliTaz package receipt.
3 PACKAGE="squirrelmail-spamassassin"
4 VERSION="1.0-1.2.7"
5 CATEGORY="network"
6 SHORT_DESC="Vacation and forwarding plugin for Web mail"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 SOURCE="saconf"
10 TARBALL="$SOURCE.$VERSION.tar.gz"
11 WEB_SITE="http://www.squirrelmail.org/"
12 WGET_URL="${WEB_SITE}plugins/$TARBALL"
13 SUGGESTED="spamassassin"
15 DEPENDS="squirrelmail"
17 compile_rules() {
18 mkdir -p $install
19 cp -a $src $install/$SOURCE
20 }
22 genpkg_rules() {
23 mkdir -p $fs/usr/share/squirrelmail/plugins
24 cp -a $install/$SOURCE $fs/usr/share/squirrelmail/plugins
25 }
27 post_install() {
28 echo "\$plugins[] = '$SOURCE';" >> "$1/etc/squirrelmail/config_local.php"
29 }
31 pre_remove() {
32 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php
33 }