wok-4.x view squirrelmail-ru_RU/receipt @ rev 1228

All squirrelmail-smallcal
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 10 11:50:32 2008 +0000 (2008-08-10)
parents b02249341793
children 033eccccd487
line source
1 # SliTaz package receipt.
3 PACKAGE="squirrelmail-ru_RU"
4 VERSION="1.4.13-20071220"
5 SHORT_DESC="Locale ru_RU for Web mail."
6 MAINTAINER="pascal.bellard@slitaz.org"
7 WANTED="squirrelmail-locales"
8 DEPENDS="squirrelmail"
9 WEB_SITE="http://www.squirrelmail.org/"
11 # Rules to gen a SliTaz package suitable for Tazpkg.
12 genpkg_rules()
13 {
14 mkdir -p $fs/usr/share/squirrelmail/locale
15 cp -a $src/locale/${PACKAGE#squirrelmail-} \
16 $fs/usr/share/squirrelmail/locale
17 }
19 # Pre and post install commands for Tazpkg.
20 post_install()
21 {
22 sed -i "s/^\$squirrelmail_default_language = .*/\$squirrelmail_default_language = '${PACKAGE#squirrelmail-}';/" /etc/squirrelmail/config.php
23 }