wok-current diff thunderbird/receipt @ rev 13150

get-flash-plugin: be busybox/sed compatible
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 11 11:13:01 2012 +0200 (2012-07-11)
parents 95c157f0be92
children 6b09507225ec
line diff
     1.1 --- a/thunderbird/receipt	Fri Mar 16 14:57:33 2012 +0100
     1.2 +++ b/thunderbird/receipt	Wed Jul 11 11:13:01 2012 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="thunderbird"
     1.7 -VERSION="11.0"
     1.8 +VERSION="11.0.1"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Mozilla's Thunderbird email application."
    1.11  MAINTAINER="domcox@slitaz.org"
    1.12 @@ -15,13 +15,13 @@
    1.13  WEB_SITE="http://www.mozilla.org/"
    1.14  WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/source/$TARBALL"
    1.15  TAGS="email pop imap smtp"
    1.16 -LANG="de es_ES fr en_GB pt_PT pt_BR ru"
    1.17 +TB_LOCALES="de es_ES fr en_GB pt_PT pt_BR ru"
    1.18  
    1.19  # Rules to configure and make the package.
    1.20  compile_rules()
    1.21  {
    1.22  	cat <<EOF
    1.23 -WARNING:  long compile time.
    1.24 +WARNING: long compile time.
    1.25  Requirements: 
    1.26  - 512MB RAM with lots of available swap space. Additional RAM will 
    1.27    significantly decrease build time. 
    1.28 @@ -30,11 +30,11 @@
    1.29  	# add config
    1.30      cp -a $stuff/thunderbird.mozconfig.conf $src/.mozconfig
    1.31  	# languages
    1.32 -	echo "# languages" >> $src/.mozconfig
    1.33 -	echo "mk_add_options MOZ_CO_LOCALES=\"$LANG\"" >> $src/.mozconfig
    1.34 +	echo -e "\n# languages" >> $src/.mozconfig
    1.35 +	echo "mk_add_options MOZ_CO_LOCALES=\"$TB_LOCALES\"" >> $src/.mozconfig
    1.36  	# for a quick build
    1.37 -	echo "# build quicker" >> $src/.mozconfig
    1.38 -	echo 'mk_add_options MOZ_MAKE_FLAGS="$MAKEFLAGS"' >> $src/.mozconfig
    1.39 +	echo -e "\n# build quicker" >> $src/.mozconfig
    1.40 +	echo "mk_add_options MOZ_MAKE_FLAGS=$MAKEFLAGS" >> $src/.mozconfig
    1.41  	# build
    1.42  	cd $src
    1.43  	patch -Np1 -i $stuff/thunderbird-3.0-lang.patch
    1.44 @@ -51,9 +51,9 @@
    1.45  	# program
    1.46  	cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
    1.47  	cp -a $_pkg/usr/bin $fs/usr
    1.48 -	# adding mime-type (x-html)
    1.49 -	cp $stuff/mimeTypes.rdf $fs/usr/lib/$PACKAGE/defaults/profile
    1.50 +	# mcd
    1.51 +	cp $stuff/autoconf.js $fs/usr/lib/$PACKAGE/defaults/pref
    1.52 +	cp $stuff/thunderbird.cfg $fs/usr/lib/$PACKAGE
    1.53 +	# mimetypes
    1.54 +
    1.55  }
    1.56 -
    1.57 -
    1.58 -