wok-next diff squirrelmail-html/receipt @ rev 21470
updated totem-pl-parser (3.26.0 -> 3.26.5)
author | Hans-G?nter Theisgen |
---|---|
date | Wed May 13 08:02:17 2020 +0100 (2020-05-13) |
parents | c4e53a39395a |
children |
line diff
1.1 --- a/squirrelmail-html/receipt Fri Mar 02 12:12:14 2018 +0200 1.2 +++ b/squirrelmail-html/receipt Wed May 13 08:02:17 2020 +0100 1.3 @@ -1,39 +1,33 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="squirrelmail-html" 1.8 VERSION="3.7a-1.4.x" 1.9 CATEGORY="network" 1.10 -SHORT_DESC="HTML viewer plugin for Web mail." 1.11 +SHORT_DESC="HTML viewer plugin for Web mail" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="GPL2" 1.14 +WEB_SITE="http://www.squirrelmail.org/" 1.15 + 1.16 SOURCE="view_as_html" 1.17 TARBALL="$SOURCE-$VERSION.tar.gz" 1.18 -WEB_SITE="http://www.squirrelmail.org/" 1.19 WGET_URL="${WEB_SITE}plugins/$TARBALL" 1.20 1.21 -DEPENDS="squirrelmail" 1.22 - 1.23 -# Rules to configure and make the package. 1.24 -compile_rules() 1.25 -{ 1.26 - mkdir -p $DESTDIR 1.27 - cp -a $src $DESTDIR/$SOURCE 1.28 +compile_rules() { 1.29 + mkdir -p $install 1.30 + cp -a $src $install/$SOURCE 1.31 } 1.32 1.33 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.34 -genpkg_rules() 1.35 -{ 1.36 +genpkg_rules() { 1.37 mkdir -p $fs/usr/share/squirrelmail/plugins 1.38 cp -a $install/$SOURCE $fs/usr/share/squirrelmail/plugins 1.39 chown -R 80 $fs/usr/share/squirrelmail 1.40 + DEPENDS="squirrelmail" 1.41 } 1.42 1.43 -post_install() 1.44 -{ 1.45 +post_install() { 1.46 echo "\$plugins[] = '$SOURCE';" >> "$1/etc/squirrelmail/config_local.php" 1.47 } 1.48 1.49 -pre_remove() 1.50 -{ 1.51 +pre_remove() { 1.52 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php 1.53 }