wok-next diff squirrelmail-sieve/receipt @ rev 21040
mariadb 10.3.10 (again)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 09 09:48:29 2018 +0200 (2018-11-09) |
parents | c4e53a39395a |
children |
line diff
1.1 --- a/squirrelmail-sieve/receipt Fri Mar 02 12:12:14 2018 +0200 1.2 +++ b/squirrelmail-sieve/receipt Fri Nov 09 09:48:29 2018 +0200 1.3 @@ -3,41 +3,35 @@ 1.4 PACKAGE="squirrelmail-sieve" 1.5 VERSION="1.9.7" 1.6 CATEGORY="network" 1.7 -SHORT_DESC="Sieve Mail Filters plugin for Web mail." 1.8 +SHORT_DESC="Sieve Mail Filters plugin for Web mail" 1.9 MAINTAINER="pascal.bellard@slitaz.org" 1.10 LICENSE="GPL2" 1.11 +WEB_SITE="http://www.squirrelmail.org/" 1.12 + 1.13 SOURCE="avelsieve" 1.14 TARBALL="$SOURCE-$VERSION.tar.gz" 1.15 -WEB_SITE="http://www.squirrelmail.org/" 1.16 WGET_URL="${WEB_SITE}plugins/$TARBALL" 1.17 -CONFIG_FILES="/etc/squirrelmail/config-$SOURCE.php" 1.18 1.19 -DEPENDS="squirrelmail" 1.20 - 1.21 -# Rules to configure and make the package. 1.22 -compile_rules() 1.23 -{ 1.24 - mkdir -p $DESTDIR 1.25 - cp -a $src $DESTDIR/$SOURCE 1.26 +compile_rules() { 1.27 + mkdir -p $install 1.28 + cp -a $src $install/$SOURCE 1.29 } 1.30 1.31 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.32 -genpkg_rules() 1.33 -{ 1.34 +genpkg_rules() { 1.35 mkdir -p $fs/usr/share/squirrelmail/plugins $fs/etc/squirrelmail 1.36 cp -a $install/$SOURCE $fs/usr/share/squirrelmail/plugins 1.37 mv $fs/usr/share/squirrelmail/plugins/$SOURCE/config/config_sample.php \ 1.38 $fs/etc/squirrelmail/config-$SOURCE.php 1.39 ln -s /etc/squirrelmail/config-$SOURCE.php \ 1.40 $fs/usr/share/squirrelmail/plugins/$SOURCE/config/config.php 1.41 + DEPENDS="squirrelmail" 1.42 + CONFIG_FILES="/etc/squirrelmail/config-$SOURCE.php" 1.43 } 1.44 1.45 -post_install() 1.46 -{ 1.47 +post_install() { 1.48 echo "\$plugins[] = '$SOURCE';" >> "$1/etc/squirrelmail/config_local.php" 1.49 } 1.50 1.51 -pre_remove() 1.52 -{ 1.53 +pre_remove() { 1.54 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php 1.55 }