wok-4.x view squirrelmail-fr_FR/receipt @ rev 1200

Squirrelmail locales: fix BUILD_DEPENDS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 08 10:58:28 2008 +0000 (2008-08-08)
parents b02249341793
children 033eccccd487
line source
1 # SliTaz package receipt.
3 PACKAGE="squirrelmail-fr_FR"
4 VERSION="1.4.13-20071220"
5 SHORT_DESC="Locale fr_FR 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 }