Gentoo Development Guide

MOZLINGUAS.ECLASS

Section: portage (5)
Updated: Sep 2014
Index Return to Main Contents
 

NAME

mozlinguas.eclass - Handle language packs for mozilla products  

DESCRIPTION

Sets IUSE according to MOZ_LANGS (language packs available). Also exports src_unpack and src_install for use in ebuilds.  

FUNCTIONS

mozlinguas_src_unpack
Unpack xpi language packs according to the user's LINGUAS settings
mozlinguas_src_install
Install xpi language packs according to the user's LINGUAS settings
 

ECLASS VARIABLES

MOZ_LANGS ?= ()
Array containing the list of language pack xpis available for this release. The list can be updated with scripts/get_langs.sh from the mozilla overlay.
MOZ_PV ?= "${PV}"
Ebuild package version converted to equivalent upstream version. Defaults to ${PV}, and should be overridden for alphas, betas, and RCs
MOZ_PN ?= "${PN}"
Ebuild package name converted to equivalent upstream name. Defaults to ${PN}, and should be overridden for binary ebuilds.
MOZ_P ?= "${MOZ_PN}-${MOZ_PV}"
Ebuild package name + version converted to upstream equivalent. Defaults to ${MOZ_PN}-${MOZ_PV}
MOZ_FTP_URI ?= ""
The ftp URI prefix for the release tarballs and language packs.
MOZ_LANGPACK_PREFIX ?= "${MOZ_PV}/linux-i686/xpi/"
The relative path till the lang code in the langpack file URI. Defaults to ${MOZ_PV}/linux-i686/xpi/
MOZ_LANGPACK_SUFFIX ?= ".xpi"
The suffix after the lang code in the langpack file URI. Defaults to '.xpi'
 

AUTHORS

Nirbheek Chauhan <nirbheek@gentoo.org>
 

MAINTAINERS

mozilla@gentoo.org
 

REPORTING BUGS

Please report bugs via http://bugs.gentoo.org/  

FILES

/usr/portage/eclass/mozlinguas.eclass  

SEE ALSO

ebuild(5)
http://sources.gentoo.org/eclass/mozlinguas.eclass?view=log


 

Index

NAME
DESCRIPTION
FUNCTIONS
ECLASS VARIABLES
AUTHORS
MAINTAINERS
REPORTING BUGS
FILES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 03:25:07 GMT, September 22, 2014