wok-next view squirrelmail-smallcal/receipt @ rev 21402
updated php (7.4.4 -> 7.4.5)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 21 07:47:41 2020 +0100 (2020-04-21) |
parents | c4e53a39395a |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="squirrelmail-smallcal"
4 VERSION="0.8-1.2.3"
5 CATEGORY="network"
6 SHORT_DESC="Left side calendar plugin for Web mail"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.squirrelmail.org/"
11 SOURCE="smallcal"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="${WEB_SITE}plugins/$TARBALL"
15 compile_rules() {
16 mkdir -p $install
17 cp -a $src $install/$SOURCE
18 }
20 genpkg_rules() {
21 mkdir -p $fs/usr/share/squirrelmail/plugins
22 cp -a $install/$SOURCE $fs/usr/share/squirrelmail/plugins
23 DEPENDS="squirrelmail squirrelmail-compatibility-plugin"
24 }
26 post_install() {
27 echo "\$plugins[] = '$SOURCE';" >> "$1/etc/squirrelmail/config_local.php"
29 [ -n "$quiet" ] || cat <<EOF
31 .------------------------------------.
32 | You can enable calendar display in |
33 | Option -> Display Preferences |
34 '------------------------------------'
35 EOF
36 }
38 pre_remove() {
39 sed -i "/\$plugins.. = '$SOURCE';/d" "$1/etc/squirrelmail/config_local.php"
40 }