wok-next rev 2247
Add squirrelmail-autocomplete
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 15 22:46:33 2009 +0000 (2009-02-15) |
parents | 0caf13e4f1da |
children | f353d1f31c59 |
files | squirrelmail-autocomplete/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/squirrelmail-autocomplete/receipt Sun Feb 15 22:46:33 2009 +0000 1.3 @@ -0,0 +1,30 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="squirrelmail-autocomplete" 1.7 +VERSION="2.0-1.0.0" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Complete To/Cc/Bcc fields plugin for Web mail (IE only)." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +SOURCE="autocomplete" 1.12 +TARBALL="$SOURCE.$VERSION.tar.gz" 1.13 +WEB_SITE="http://www.squirrelmail.org/" 1.14 +DEPENDS="squirrelmail" 1.15 +WGET_URL="${WEB_SITE}plugins/$TARBALL" 1.16 +CONFIG_FILES="/etc/squirrelmail/config-$SOURCE.php" 1.17 + 1.18 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.19 +genpkg_rules() 1.20 +{ 1.21 + mkdir -p $fs/usr/share/squirrelmail/plugins 1.22 + cp -a $SOURCE $fs/usr/share/squirrelmail/plugins 1.23 +} 1.24 + 1.25 +post_install() 1.26 +{ 1.27 + echo "\$plugins[] = '$SOURCE';" >> $1/etc/squirrelmail/config_local.php 1.28 +} 1.29 + 1.30 +post_remove() 1.31 +{ 1.32 + sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php 1.33 +}