wok-current view squirrelmail-nb_NO/receipt @ rev 1358
Add qt-x11-opensource-src, no package added, needed for wanted variable
author | Allan Pinto <allan316@gmail.com> |
---|---|
date | Thu Sep 11 15:22:16 2008 +0000 (2008-09-11) |
parents | b02249341793 |
children | 033eccccd487 |
line source
1 # SliTaz package receipt.
3 PACKAGE="squirrelmail-nb_NO"
4 VERSION="1.4.13-20071220"
5 SHORT_DESC="Locale nb_NO 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 }