diff options
Diffstat (limited to 'eclass/mozextension.eclass')
-rw-r--r-- | eclass/mozextension.eclass | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/eclass/mozextension.eclass b/eclass/mozextension.eclass index ea4f1eb143e9..ab7d56d24ce9 100644 --- a/eclass/mozextension.eclass +++ b/eclass/mozextension.eclass @@ -5,7 +5,7 @@ # @MAINTAINER: # Mozilla team <mozilla@gentoo.org> # @BLURB: Install extensions for use in mozilla products. -# + if [[ ! ${_MOZEXTENSION} ]]; then # @ECLASS-VARIABLE: MOZEXTENSION_TARGET @@ -20,6 +20,8 @@ inherit eutils DEPEND="app-arch/unzip" +# @FUNCTION: mozversion_extension_location + mozversion_extension_location() { case ${PN} in firefox|firefox-bin|palemoon) @@ -32,6 +34,8 @@ mozversion_extension_location() { return 1 } +# @FUNCTION: xpi_unpack + xpi_unpack() { local xpi xpiname srcdir @@ -61,6 +65,7 @@ xpi_unpack() { done } +# @FUNCTION: xpi_install xpi_install() { local emid @@ -91,6 +96,8 @@ xpi_install() { doins -r "${x}"/* || die "failed to copy extension" } +# @FUNCTION: xpi_copy + xpi_copy() { local emid |