wok-6.x view thunderbird-langpack-fr/receipt @ rev 6761

Down: make to 3.81. I'm doing this so we cause there are to many problems with 3.82 right now. For example: gst-plugins-base will not compile with the new make 3.82 since there are 8 spaces instead of tabs. Or libwebkit not compiling with -j 4. Best to wait on updating this for slitaz 5.0.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Oct 17 23:32:20 2010 +0000 (2010-10-17)
parents 4aef4f201414
children 6f3bf60ef747
line source
1 # SliTaz package receipt.
3 PACKAGE="thunderbird-langpack-fr"
4 VERSION="3.1.4"
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/"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $WOK/$PACKAGE
17 LANG=`echo $PACKAGE | cut -d'-' -f3 | tr '_' '-'`
18 # Get xpi
19 WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/xpi/$LANG.xpi"
20 if [ -e $LANG.xpi ]; then
21 echo "Using current langpack ($LANG.xpi)"
22 else
23 echo "Downloading langpack ($LANG.xpi)"
24 wget $WGET_URL
25 fi
26 # Uncompress
27 echo -n "Uncompressing langpack ($LANG.xpi)"
28 LANG_DIR="langpack-$LANG@thunderbird.mozilla.org"
29 mkdir -p $LANG_DIR && unzip -oq $LANG.xpi -d $LANG_DIR
30 status
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 EXTDIR="$fs/usr/lib/$SOURCE-$VERSION/extensions"
37 mkdir -p $EXTDIR
38 cp -a $LANG_DIR $EXTDIR
39 }