diff options
Diffstat (limited to 'www-client/firefox/firefox-11.0.ebuild')
-rw-r--r-- | www-client/firefox/firefox-11.0.ebuild | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/www-client/firefox/firefox-11.0.ebuild b/www-client/firefox/firefox-11.0.ebuild index fb5d37466b65..fa5c04da3370 100644 --- a/www-client/firefox/firefox-11.0.ebuild +++ b/www-client/firefox/firefox-11.0.ebuild @@ -1,10 +1,11 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/firefox/firefox-11.0.ebuild,v 1.1 2012/03/16 02:20:11 anarchy Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/firefox/firefox-11.0.ebuild,v 1.2 2012/03/21 03:37:03 nirbheek Exp $ EAPI="3" VIRTUALX_REQUIRED="pgo" WANT_AUTOCONF="2.1" +MOZ_ESR="0" # This list can be updated with scripts/get_langs.sh from the mozilla overlay MOZ_LANGS=(af ak ar as ast be bg bn-BD bn-IN br bs ca cs csb cy da de el en @@ -18,6 +19,11 @@ MOZ_PV="${PV/_alpha/a}" # Handle alpha for SRC_URI MOZ_PV="${MOZ_PV/_beta/b}" # Handle beta for SRC_URI MOZ_PV="${MOZ_PV/_rc/rc}" # Handle rc for SRC_URI +if [[ ${MOZ_ESR} == 1 ]]; then + # ESR releases have slightly version numbers + MOZ_PV="${MOZ_PV}esr" +fi + # Changeset for alpha snapshot CHANGESET="e56ecd8b3a68" # Patch version @@ -72,13 +78,17 @@ if [[ ${PV} =~ alpha ]]; then http://dev.gentoo.org/~anarchy/mozilla/firefox/firefox-${MOZ_PV}_${CHANGESET}.source.tar.bz2" S="${WORKDIR}/mozilla-central" elif [[ ${PV} =~ beta ]]; then - S="${WORKDIR}/mozilla-beta" SRC_URI="${SRC_URI} ${MOZ_FTP_URI}/${MOZ_PV}/source/firefox-${MOZ_PV}.source.tar.bz2" + S="${WORKDIR}/mozilla-beta" else - S="${WORKDIR}/mozilla-release" SRC_URI="${SRC_URI} - ${MOZ_FTP_URI}/${MOZ_PV}/source/firefox-${MOZ_PV}.source.tar.bz2" + ${MOZ_FTP_URI}/${MOZ_PV}/source/firefox-${MOZ_PV}.source.tar.bz2" + if [[ ${MOZ_ESR} == 1 ]]; then + S="${WORKDIR}/mozilla-esr${PV%%.*}" + else + S="${WORKDIR}/mozilla-release" + fi fi QA_PRESTRIPPED="usr/$(get_libdir)/${PN}/firefox" |