wok-4.x annotate thunderbird-langpack-en_GB/receipt @ rev 6419
Up: lxpanel to 0.5.6. I committed out my patch since it doesn't patch now. I also took battary montor out so lxpanel will build. All other plugins are there.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Sep 26 17:02:23 2010 +0000 (2010-09-26) |
parents | 0dbc60e299ab |
children | 91f0a0a892ae |
rev | line source |
---|---|
domcox@6081 | 1 # SliTaz package receipt. |
domcox@6081 | 2 |
pascal@6088 | 3 PACKAGE="thunderbird-langpack-en_GB" |
domcox@6162 | 4 VERSION="3.1.3" |
domcox@6081 | 5 CATEGORY="network" |
domcox@6081 | 6 SHORT_DESC="locale for mozilla thunderbird" |
domcox@6081 | 7 MAINTAINER="domcox@slitaz.org" |
domcox@6081 | 8 DEPENDS="thunderbird" |
domcox@6081 | 9 SOURCE="thunderbird" |
pascal@6409 | 10 WEB_SITE="http://www.mozillamessaging.com/" |
domcox@6081 | 11 |
domcox@6081 | 12 |
domcox@6081 | 13 # Rules to configure and make the package. |
domcox@6081 | 14 compile_rules() |
domcox@6081 | 15 { |
domcox@6081 | 16 cd $WOK/$PACKAGE |
domcox@6132 | 17 LANG=`echo $PACKAGE | cut -d'-' -f3 | tr '_' '-'` |
domcox@6081 | 18 # Get xpi |
domcox@6081 | 19 WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/xpi/$LANG.xpi" |
domcox@6081 | 20 if [ -e $LANG.xpi ]; then |
domcox@6081 | 21 echo "Using current langpack ($LANG.xpi)" |
domcox@6081 | 22 else |
domcox@6081 | 23 echo "Downloading langpack ($LANG.xpi)" |
domcox@6081 | 24 wget $WGET_URL |
domcox@6081 | 25 fi |
domcox@6081 | 26 # Uncompress |
domcox@6081 | 27 echo -n "Uncompressing langpack ($LANG.xpi)" |
domcox@6081 | 28 LANG_DIR="langpack-$LANG@thunderbird.mozilla.org" |
domcox@6081 | 29 mkdir -p $LANG_DIR && unzip -oq $LANG.xpi -d $LANG_DIR |
domcox@6081 | 30 status |
domcox@6081 | 31 } |
domcox@6081 | 32 |
domcox@6081 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@6081 | 34 genpkg_rules() |
domcox@6081 | 35 { |
domcox@6081 | 36 EXTDIR="$fs/usr/lib/$SOURCE-$VERSION/extensions" |
domcox@6081 | 37 mkdir -p $EXTDIR |
domcox@6081 | 38 cp -a $LANG_DIR $EXTDIR |
domcox@6081 | 39 } |