wok-current annotate squirrelmail-html/receipt @ rev 23426

updated php packages (7.3.16 -> 7.4.4)
author Hans-G?nter Theisgen
date Wed Apr 01 15:23:29 2020 +0100 (2020-04-01)
parents 9e01bc6321ea
children 46dcc80bef41
rev   line source
pascal@1225 1 # SliTaz package receipt.
pascal@1225 2
pascal@1225 3 PACKAGE="squirrelmail-html"
Hans-G?nter@21964 4 VERSION="3.8"
pascal@1225 5 CATEGORY="network"
Hans-G?nter@21964 6 SHORT_DESC="HTML viewer plugin for squirrelmail."
pascal@1225 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15200 8 LICENSE="GPL2"
Hans-G?nter@21964 9 WEB_SITE="http://www.squirrelmail.org/"
Hans-G?nter@21964 10
pascal@1225 11 SOURCE="view_as_html"
pascal@1225 12 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@15200 13 WGET_URL="${WEB_SITE}plugins/$TARBALL"
pascal@15200 14
pascal@1225 15 DEPENDS="squirrelmail"
pascal@1225 16
Hans-G?nter@21964 17 HOST_ARCH="any"
Hans-G?nter@21964 18
pascal@9036 19 # Rules to configure and make the package.
pascal@9036 20 compile_rules()
pascal@9036 21 {
pascal@9037 22 mkdir -p $DESTDIR
pascal@9036 23 cp -a $src $DESTDIR/$SOURCE
pascal@9036 24 }
pascal@9036 25
pascal@1225 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1225 27 genpkg_rules()
pascal@1225 28 {
pascal@1225 29 mkdir -p $fs/usr/share/squirrelmail/plugins
pascal@15200 30 cp -a $install/$SOURCE $fs/usr/share/squirrelmail/plugins
pascal@3259 31 chown -R 80 $fs/usr/share/squirrelmail
pascal@1225 32 }
pascal@1225 33
pascal@1225 34 post_install()
pascal@1225 35 {
pascal@18730 36 echo "\$plugins[] = '$SOURCE';" >> "$1/etc/squirrelmail/config_local.php"
pascal@1225 37 }
pascal@2245 38
pascal@2260 39 pre_remove()
pascal@2245 40 {
pascal@2245 41 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php
pascal@2245 42 }