wok-next rev 6131
thunderbird-langpack-en_ES : fix LANG
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Sep 07 19:50:00 2010 +0200 (2010-09-07) |
parents | 53c7b8810987 |
children | f0dcc49d559b |
files | thunderbird-langpack-es-ES/receipt thunderbird-langpack-es_ES/receipt |
line diff
1.1 --- a/thunderbird-langpack-es-ES/receipt Tue Sep 07 12:22:16 2010 +0200 1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 1.3 @@ -1,39 +0,0 @@ 1.4 -# SliTaz package receipt. 1.5 - 1.6 -PACKAGE="thunderbird-langpack-ru" 1.7 -VERSION="3.1.2" 1.8 -CATEGORY="network" 1.9 -SHORT_DESC="locale for mozilla thunderbird" 1.10 -MAINTAINER="domcox@slitaz.org" 1.11 -DEPENDS="thunderbird" 1.12 -SOURCE="thunderbird" 1.13 -WEB_SITE="www.mozillamessaging.com" 1.14 - 1.15 - 1.16 -# Rules to configure and make the package. 1.17 -compile_rules() 1.18 -{ 1.19 - cd $WOK/$PACKAGE 1.20 - LANG=`echo $PACKAGE | cut -d'-' -f3` 1.21 - # Get xpi 1.22 - WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/xpi/$LANG.xpi" 1.23 - if [ -e $LANG.xpi ]; then 1.24 - echo "Using current langpack ($LANG.xpi)" 1.25 - else 1.26 - echo "Downloading langpack ($LANG.xpi)" 1.27 - wget $WGET_URL 1.28 - fi 1.29 - # Uncompress 1.30 - echo -n "Uncompressing langpack ($LANG.xpi)" 1.31 - LANG_DIR="langpack-$LANG@thunderbird.mozilla.org" 1.32 - mkdir -p $LANG_DIR && unzip -oq $LANG.xpi -d $LANG_DIR 1.33 - status 1.34 -} 1.35 - 1.36 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.37 -genpkg_rules() 1.38 -{ 1.39 - EXTDIR="$fs/usr/lib/$SOURCE-$VERSION/extensions" 1.40 - mkdir -p $EXTDIR 1.41 - cp -a $LANG_DIR $EXTDIR 1.42 -}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/thunderbird-langpack-es_ES/receipt Tue Sep 07 19:50:00 2010 +0200 2.3 @@ -0,0 +1,41 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="thunderbird-langpack-es_ES" 2.7 +VERSION="3.1.2" 2.8 +CATEGORY="network" 2.9 +SHORT_DESC="locale for mozilla thunderbird" 2.10 +MAINTAINER="domcox@slitaz.org" 2.11 +DEPENDS="thunderbird" 2.12 +SOURCE="thunderbird" 2.13 +WEB_SITE="www.mozillamessaging.com" 2.14 + 2.15 + 2.16 +# Rules to configure and make the package. 2.17 +compile_rules() 2.18 +{ 2.19 + cd $WOK/$PACKAGE 2.20 + LANG=`echo $PACKAGE | cut -d'-' -f3 | tr '_' '-'` 2.21 +#LANG="es-ES" 2.22 +echo "LANG=$LANG" 2.23 + # Get xpi 2.24 + WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/xpi/$LANG.xpi" 2.25 + if [ -e $LANG.xpi ]; then 2.26 + echo "Using current langpack ($LANG.xpi)" 2.27 + else 2.28 + echo "Downloading langpack ($LANG.xpi)" 2.29 + wget $WGET_URL 2.30 + fi 2.31 + # Uncompress 2.32 + echo -n "Uncompressing langpack ($LANG.xpi)" 2.33 + LANG_DIR="langpack-$LANG@thunderbird.mozilla.org" 2.34 + mkdir -p $LANG_DIR && unzip -oq $LANG.xpi -d $LANG_DIR 2.35 + status 2.36 +} 2.37 + 2.38 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.39 +genpkg_rules() 2.40 +{ 2.41 + EXTDIR="$fs/usr/lib/$SOURCE-$VERSION/extensions" 2.42 + mkdir -p $EXTDIR 2.43 + cp -a $LANG_DIR $EXTDIR 2.44 +}