wok view squirrelmail-autocomplete/receipt @ rev 21998

sylpheed: update $WGET_URL
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 17 10:59:42 2019 +0200 (2019-10-17)
parents 1e294b6812df
children 46dcc80bef41
line source
1 # SliTaz package receipt.
3 PACKAGE="squirrelmail-autocomplete"
4 VERSION="3.0-1.4.0"
5 CATEGORY="network"
6 SHORT_DESC="Complete To/Cc/Bcc fields plugin for Web mail (IE only)."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.squirrelmail.org/"
11 SOURCE="autocomplete"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="${WEB_SITE}plugins/$TARBALL"
15 DEPENDS="squirrelmail"
17 CONFIG_FILES="/etc/squirrelmail/config-$SOURCE.php"
19 HOST_ARCH="any"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 mkdir -p $DESTDIR
25 cp -a $src $DESTDIR/$SOURCE
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share/squirrelmail/plugins
32 cp -a $install/$SOURCE $fs/usr/share/squirrelmail/plugins
33 }
35 post_install()
36 {
37 echo "\$plugins[] = '$SOURCE';" >> "$1/etc/squirrelmail/config_local.php"
38 }
40 pre_remove()
41 {
42 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php
43 }