wok-6.x view squirrelmail-ar/receipt @ rev 1382

vim: fix due to update
author Christophe Lincoln <pankso@slitaz.org>
date Mon Sep 15 15:21:25 2008 +0200 (2008-09-15)
parents b02249341793
children 033eccccd487
line source
1 # SliTaz package receipt.
3 PACKAGE="squirrelmail-ar"
4 VERSION="1.4.13-20071220"
5 SHORT_DESC="Locale ar 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 }