# HG changeset patch # User Dominique Corbex # Date 1283854626 -7200 # Node ID 30e6cb61e8198282a29f4814f816941a4e83b976 # Parent 86b07f76acc6ffafea276079c0510265675858c4 thunderbird-langpack-es : fix typo diff -r 86b07f76acc6 -r 30e6cb61e819 thunderbird-langpack-es-ES/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thunderbird-langpack-es-ES/receipt Tue Sep 07 12:17:06 2010 +0200 @@ -0,0 +1,39 @@ +# SliTaz package receipt. + +PACKAGE="thunderbird-langpack-ru" +VERSION="3.1.2" +CATEGORY="network" +SHORT_DESC="locale for mozilla thunderbird" +MAINTAINER="domcox@slitaz.org" +DEPENDS="thunderbird" +SOURCE="thunderbird" +WEB_SITE="www.mozillamessaging.com" + + +# Rules to configure and make the package. +compile_rules() +{ + cd $WOK/$PACKAGE + LANG=`echo $PACKAGE | cut -d'-' -f3` + # Get xpi + WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/xpi/$LANG.xpi" + if [ -e $LANG.xpi ]; then + echo "Using current langpack ($LANG.xpi)" + else + echo "Downloading langpack ($LANG.xpi)" + wget $WGET_URL + fi + # Uncompress + echo -n "Uncompressing langpack ($LANG.xpi)" + LANG_DIR="langpack-$LANG@thunderbird.mozilla.org" + mkdir -p $LANG_DIR && unzip -oq $LANG.xpi -d $LANG_DIR + status +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + EXTDIR="$fs/usr/lib/$SOURCE-$VERSION/extensions" + mkdir -p $EXTDIR + cp -a $LANG_DIR $EXTDIR +} diff -r 86b07f76acc6 -r 30e6cb61e819 thunderbird-langpack-es/receipt --- a/thunderbird-langpack-es/receipt Mon Sep 06 16:47:09 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,39 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="thunderbird-langpack-es" -VERSION="3.1.2" -CATEGORY="network" -SHORT_DESC="locale for mozilla thunderbird" -MAINTAINER="domcox@slitaz.org" -DEPENDS="thunderbird" -SOURCE="thunderbird" -WEB_SITE="www.mozillamessaging.com" - - -# Rules to configure and make the package. -compile_rules() -{ - cd $WOK/$PACKAGE - LANG=`echo $PACKAGE | cut -d'-' -f3` - # Get xpi - WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/xpi/$LANG.xpi" - if [ -e $LANG.xpi ]; then - echo "Using current langpack ($LANG.xpi)" - else - echo "Downloading langpack ($LANG.xpi)" - wget $WGET_URL - fi - # Uncompress - echo -n "Uncompressing langpack ($LANG.xpi)" - LANG_DIR="langpack-$LANG@thunderbird.mozilla.org" - mkdir -p $LANG_DIR && unzip -oq $LANG.xpi -d $LANG_DIR - status -} - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - EXTDIR="$fs/usr/lib/$SOURCE-$VERSION/extensions" - mkdir -p $EXTDIR - cp -a $LANG_DIR $EXTDIR -}