wok-current annotate squirrelmail-autocomplete/receipt @ rev 22373

updated ilmbase and ilmbase-dev (2.2.0 -> 2.3.0)
author Hans-G?nter Theisgen
date Wed Nov 27 16:43:45 2019 +0100 (2019-11-27)
parents 1e294b6812df
children 46dcc80bef41
rev   line source
pascal@2247 1 # SliTaz package receipt.
pascal@2247 2
pascal@2247 3 PACKAGE="squirrelmail-autocomplete"
Hans-G?nter@21961 4 VERSION="3.0-1.4.0"
pascal@2247 5 CATEGORY="network"
pascal@2247 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"
Hans-G?nter@21961 9 WEB_SITE="http://www.squirrelmail.org/"
Hans-G?nter@21961 10
pascal@2247 11 SOURCE="autocomplete"
Hans-G?nter@21962 12 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@2247 13 WGET_URL="${WEB_SITE}plugins/$TARBALL"
pascal@2247 14
pascal@15200 15 DEPENDS="squirrelmail"
pascal@15200 16
Hans-G?nter@21961 17 CONFIG_FILES="/etc/squirrelmail/config-$SOURCE.php"
Hans-G?nter@21961 18
Hans-G?nter@21961 19 HOST_ARCH="any"
Hans-G?nter@21961 20
pascal@9036 21 # Rules to configure and make the package.
pascal@9036 22 compile_rules()
pascal@9036 23 {
pascal@9037 24 mkdir -p $DESTDIR
pascal@9036 25 cp -a $src $DESTDIR/$SOURCE
pascal@9036 26 }
pascal@9036 27
pascal@2247 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2247 29 genpkg_rules()
pascal@2247 30 {
pascal@2247 31 mkdir -p $fs/usr/share/squirrelmail/plugins
pascal@15200 32 cp -a $install/$SOURCE $fs/usr/share/squirrelmail/plugins
pascal@2247 33 }
pascal@2247 34
pascal@2247 35 post_install()
pascal@2247 36 {
pascal@18730 37 echo "\$plugins[] = '$SOURCE';" >> "$1/etc/squirrelmail/config_local.php"
pascal@2247 38 }
pascal@2247 39
pascal@2260 40 pre_remove()
pascal@2247 41 {
pascal@2247 42 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php
pascal@2247 43 }