wok-4.x view thunderbird-langpack-en_GB/receipt @ rev 6860
Up: thunderbird to 3.0.15.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Oct 20 12:26:23 2010 +0000 (2010-10-20) |
parents | 91f0a0a892ae |
children | 1fc6a2ed9274 |
line source
1 # SliTaz package receipt.
3 PACKAGE="thunderbird-langpack-en_GB"
4 VERSION="3.1.5"
5 CATEGORY="network"
6 SHORT_DESC="locale for mozilla thunderbird"
7 MAINTAINER="domcox@slitaz.org"
8 DEPENDS="thunderbird"
9 SOURCE="thunderbird"
10 WEB_SITE="http://www.mozillamessaging.com/"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $WOK/$PACKAGE
16 LANG=`echo $PACKAGE | cut -d'-' -f3 | tr '_' '-'`
17 # Get xpi
18 WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/xpi/$LANG.xpi"
19 if [ -e $LANG.xpi ]; then
20 echo "Using current langpack ($LANG.xpi)"
21 else
22 echo "Downloading langpack ($LANG.xpi)"
23 wget $WGET_URL
24 fi
25 # Uncompress
26 echo -n "Uncompressing langpack ($LANG.xpi)"
27 LANG_DIR="langpack-$LANG@thunderbird.mozilla.org"
28 mkdir -p $LANG_DIR && unzip -oq $LANG.xpi -d $LANG_DIR
29 status
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 EXTDIR="$fs/usr/lib/$SOURCE-$VERSION/extensions"
36 mkdir -p $EXTDIR
37 cp -a $LANG_DIR $EXTDIR
38 }