wok-current diff squirrelmail-pt_BR/receipt @ rev 1198
Add squirrelmail
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 08 08:58:38 2008 +0000 (2008-08-08) |
parents | |
children | 4c6676f4a574 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/squirrelmail-pt_BR/receipt Fri Aug 08 08:58:38 2008 +0000 1.3 @@ -0,0 +1,24 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="squirrelmail-pt_BR" 1.7 +VERSION="1.4.13-20071220" 1.8 +SHORT_DESC="Locale pt_BR for Web mail." 1.9 +MAINTAINER="pascal.bellard@slitaz.org" 1.10 +WANTED="squirrelmail-locales" 1.11 +DEPENDS="squirrelmail" 1.12 +BUILD_DEPENDS="squirrelmail-locales" 1.13 +WEB_SITE="http://www.squirrelmail.org/" 1.14 + 1.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.16 +genpkg_rules() 1.17 +{ 1.18 + mkdir -p $fs/usr/share/squirrelmail/locale 1.19 + cp -a $src/locale/${PACKAGE#squirrelmail-} \ 1.20 + $fs/usr/share/squirrelmail/locale 1.21 +} 1.22 + 1.23 +# Pre and post install commands for Tazpkg. 1.24 +post_install() 1.25 +{ 1.26 + sed -i "s/^\$squirrelmail_default_language = .*/\$squirrelmail_default_language = '${PACKAGE#squirrelmail-}';/" /etc/squirrelmail/config.php 1.27 +}