wok-current diff squirrelmail/receipt @ rev 1277
Add: libexif (images info manipulation)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Aug 18 14:14:53 2008 +0200 (2008-08-18) |
parents | 534023d6e005 |
children | a98dc85bb99a |
line diff
1.1 --- a/squirrelmail/receipt Sat Aug 09 17:50:04 2008 +0000 1.2 +++ b/squirrelmail/receipt Mon Aug 18 14:14:53 2008 +0200 1.3 @@ -8,6 +8,7 @@ 1.4 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.5 WEB_SITE="http://www.squirrelmail.org/" 1.6 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.7 +DEPENDS="php" 1.8 CONFIG_FILES="/etc/squirrelmail/config.php /etc/squirrelmail/config_local.php" 1.9 1.10 # Rules to gen a SliTaz package suitable for Tazpkg. 1.11 @@ -16,6 +17,8 @@ 1.12 mkdir -p $fs/usr/share/squirrelmail $fs/var/lib/squirrelmail/data \ 1.13 $fs/var/lib/squirrelmail/attach $fs/etc 1.14 cp -a $src/. $fs/usr/share/squirrelmail 1.15 + sed -i "s/'custom_css', 'none'/'custom_css', 'serif-12.css'/" \ 1.16 + $fs/usr/share/squirrelmail/include/load_prefs.php 1.17 mv $fs/usr/share/squirrelmail/config $fs/etc/squirrelmail 1.18 ln -s /etc/squirrelmail $fs/usr/share/squirrelmail/config 1.19 mv $fs/etc/squirrelmail/config_default.* $fs/etc/squirrelmail/config.php 1.20 @@ -49,6 +52,8 @@ 1.21 etc/squirrelmail/config.php 1.22 etc/squirrelmail/config_local.php 1.23 EOT 1.24 + #echo "Update /short_open_tag in /etc/php.ini" 1.25 + #sed -i 's/^short_open_tag.*/short_open_tag = On/' /etc/php.ini 1.26 if [ -f $1/etc/lighttpd/lighttpd.conf ]; then 1.27 if ! grep -q /usr/share/squirrelmail/ $1/etc/lighttpd/lighttpd.conf; then 1.28 sed -e 's|.*"/examples/" => "/usr/share/examples/",| "/examples/" => "/usr/share/examples/",\n "/squirrelmail/" => "/usr/share/squirrelmail/",|g' -i $1/etc/lighttpd/lighttpd.conf