wok-next view squirrelmail-compatibility-plugin/receipt @ rev 21253

updated duplicity (0.6.20 -> 0.8.07)
author Hans-G?nter Theisgen
date Fri Dec 06 09:07:53 2019 +0100 (2019-12-06)
parents c4e53a39395a
children
line source
1 # SliTaz package receipt.
3 PACKAGE="squirrelmail-compatibility-plugin"
4 VERSION="2.0.13-1.0"
5 CATEGORY="network"
6 SHORT_DESC="Compatibility plugin for Web mail need by many plugins"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.squirrelmail.org/"
11 SOURCE="compatibility"
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"
24 }
26 post_install() {
27 local file
28 local line
29 file="$1/usr/share/squirrelmail/functions/strings.php"
30 line="include_once(SM_PATH . 'plugins/compatibility/functions.php');"
31 grep -qs "$line" "$file" || sed -i "s|.*global.php.*|&\n$line|" "$file"
32 }