wok-4.x view squirrelmail-sr_YU/receipt @ rev 1221

Add squirrelmail-archive
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 10 07:51:51 2008 +0000 (2008-08-10)
parents b02249341793
children 033eccccd487
line source
1 # SliTaz package receipt.
3 PACKAGE="squirrelmail-sr_YU"
4 VERSION="1.4.13-20071220"
5 SHORT_DESC="Locale sr_YU 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 }