wok-next annotate squirrelmail-autocomplete/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents c4e53a39395a
children
rev   line source
pascal@2247 1 # SliTaz package receipt.
pascal@2247 2
pascal@2247 3 PACKAGE="squirrelmail-autocomplete"
pascal@2247 4 VERSION="2.0-1.0.0"
pascal@2247 5 CATEGORY="network"
al@21020 6 SHORT_DESC="Complete To/Cc/Bcc fields plugin for Web mail (IE only)"
pascal@2247 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15200 8 LICENSE="GPL2"
al@21020 9 WEB_SITE="http://www.squirrelmail.org/"
al@21020 10
pascal@2247 11 SOURCE="autocomplete"
pascal@2247 12 TARBALL="$SOURCE.$VERSION.tar.gz"
pascal@2247 13 WGET_URL="${WEB_SITE}plugins/$TARBALL"
pascal@2247 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@2247 21 mkdir -p $fs/usr/share/squirrelmail/plugins
pascal@15200 22 cp -a $install/$SOURCE $fs/usr/share/squirrelmail/plugins
al@21020 23 DEPENDS="squirrelmail"
al@21020 24 CONFIG_FILES="/etc/squirrelmail/config-$SOURCE.php"
pascal@2247 25 }
pascal@2247 26
al@21020 27 post_install() {
pascal@18730 28 echo "\$plugins[] = '$SOURCE';" >> "$1/etc/squirrelmail/config_local.php"
pascal@2247 29 }
pascal@2247 30
al@21020 31 pre_remove() {
al@21020 32 sed -i "/\$plugins.. = '$SOURCE';/d" "$1/etc/squirrelmail/config_local.php"
pascal@2247 33 }