wok-4.x annotate thunderbird-langpack-es_ES/receipt @ rev 6132
thunderbird-langpack-es_ES / en_GB : fix typo
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Sep 07 19:54:44 2010 +0200 (2010-09-07) |
parents | cfc1b5c42e5f |
children | 2ddb1d8590f8 |
rev | line source |
---|---|
domcox@6129 | 1 # SliTaz package receipt. |
domcox@6129 | 2 |
domcox@6131 | 3 PACKAGE="thunderbird-langpack-es_ES" |
domcox@6129 | 4 VERSION="3.1.2" |
domcox@6129 | 5 CATEGORY="network" |
domcox@6129 | 6 SHORT_DESC="locale for mozilla thunderbird" |
domcox@6129 | 7 MAINTAINER="domcox@slitaz.org" |
domcox@6129 | 8 DEPENDS="thunderbird" |
domcox@6129 | 9 SOURCE="thunderbird" |
domcox@6129 | 10 WEB_SITE="www.mozillamessaging.com" |
domcox@6129 | 11 |
domcox@6129 | 12 |
domcox@6129 | 13 # Rules to configure and make the package. |
domcox@6129 | 14 compile_rules() |
domcox@6129 | 15 { |
domcox@6129 | 16 cd $WOK/$PACKAGE |
domcox@6131 | 17 LANG=`echo $PACKAGE | cut -d'-' -f3 | tr '_' '-'` |
domcox@6129 | 18 # Get xpi |
domcox@6129 | 19 WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/xpi/$LANG.xpi" |
domcox@6129 | 20 if [ -e $LANG.xpi ]; then |
domcox@6129 | 21 echo "Using current langpack ($LANG.xpi)" |
domcox@6129 | 22 else |
domcox@6129 | 23 echo "Downloading langpack ($LANG.xpi)" |
domcox@6129 | 24 wget $WGET_URL |
domcox@6129 | 25 fi |
domcox@6129 | 26 # Uncompress |
domcox@6129 | 27 echo -n "Uncompressing langpack ($LANG.xpi)" |
domcox@6129 | 28 LANG_DIR="langpack-$LANG@thunderbird.mozilla.org" |
domcox@6129 | 29 mkdir -p $LANG_DIR && unzip -oq $LANG.xpi -d $LANG_DIR |
domcox@6129 | 30 status |
domcox@6129 | 31 } |
domcox@6129 | 32 |
domcox@6129 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@6129 | 34 genpkg_rules() |
domcox@6129 | 35 { |
domcox@6129 | 36 EXTDIR="$fs/usr/lib/$SOURCE-$VERSION/extensions" |
domcox@6129 | 37 mkdir -p $EXTDIR |
domcox@6129 | 38 cp -a $LANG_DIR $EXTDIR |
domcox@6129 | 39 } |