wok-next view thunderbird-langpack-de/receipt @ rev 7160

Added libdrm, libdrm-intel, libdrm-nouveau, and libdrm-radeon to libdrm-dev depends. Needed for the .pc files to work with pkg-config.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Nov 07 02:22:12 2010 +0000 (2010-11-07)
parents 6f3bf60ef747
children a371908710d9
line source
1 # SliTaz package receipt.
3 PACKAGE="thunderbird-langpack-de"
4 VERSION="3.1.6"
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 }