wok-6.x view firefox-langpack-zh_TW/receipt @ rev 8565
imported patch get/tyrian
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Feb 13 22:57:56 2011 +0100 (2011-02-13) |
parents | cddbcd5b6530 |
children | f579356b437f |
line source
1 # SliTaz package receipt.
3 PACKAGE="firefox-langpack-zh_TW"
4 VERSION="3.6.13"
5 CATEGORY="network"
6 SHORT_DESC="Chinese Language Package for firefox"
7 MAINTAINER="lufeng369@gmail.com"
8 DEPENDS="firefox"
9 WEB_SITE="http://www.mozilla.com"
10 LANG=`echo $PACKAGE | cut -d'-' -f3 | tr '_' '-'`
11 LANG_DIR="langpack-$LANG@firefox.mozilla.org"
12 TARBALL="$LANG.xpi"
13 WGET_URL="http://releases.mozilla.org/pub/mozilla.org/firefox/releases/$VERSION/linux-i686/xpi/$TARBALL"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 compile_rules()
17 {
18 :
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 EXTDIR="$fs/usr/lib/$SOURCE-$VERSION/extensions/$LANG_DIR"
25 mkdir -p $EXTDIR
26 cp -a $src/* $EXTDIR
27 }
29 post_install()
30 {
31 echo ""
32 echo "Use the code below to change locale of firefox in shell:"
33 echo "sed -i '/pref/s/en-US/$LANG/' /etc/firefox/pref/firefox-l10n.js"
34 echo ""
35 }