summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSardem FF7 <sardemff7.pub@gmail.com>2011-01-26 22:50:04 +0100
committerSardem FF7 <sardemff7.pub@gmail.com>2011-01-26 22:50:04 +0100
commit9464d6ca8575180440361510f35a07855def5490 (patch)
tree43d61af35f692b32cfb5b1f3ea7e24aafc724f7b
parentCreate a mozilla-scm eclass to prepare the future thunderbird-9999 (diff)
downloadsardemff7-9464d6ca8575180440361510f35a07855def5490.tar.gz
sardemff7-9464d6ca8575180440361510f35a07855def5490.tar.bz2
sardemff7-9464d6ca8575180440361510f35a07855def5490.zip
Little cleanup
-rw-r--r--eclass/mozilla-scm.eclass24
1 files changed, 6 insertions, 18 deletions
diff --git a/eclass/mozilla-scm.eclass b/eclass/mozilla-scm.eclass
index 925401a..4403f9c 100644
--- a/eclass/mozilla-scm.eclass
+++ b/eclass/mozilla-scm.eclass
@@ -1,21 +1,15 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mercurial.eclass,v 1.15 2010/11/17 18:42:03 nelchael Exp $
+# $Header: $
-# @ECLASS: mercurial.eclass
+# @ECLASS: mozilla-scm.eclass
# @MAINTAINER:
-# Krzysztof Pawlik <nelchael@gentoo.org>
-# Dirkjan Ochtman <djc@gentoo.org>
-# @BLURB: This eclass provides generic mercurial fetching functions
-# @DESCRIPTION:
-# This eclass provides generic mercurial fetching functions. To fetch sources
-# from mercurial repository just set EHG_REPO_URI to correct repository URI. If
-# you need to share single repository between several ebuilds set EHG_PROJECT to
-# project name in all of them.
+# Sardem FF7 <sardemff7.pub@gmail.com>
+# @BLURB: This eclass provides Mozilla specific SCM support
WANT_AUTOCONF="2.1"
-inherit eutils flag-o-matic toolchain-funcs eutils prefix mozconfig-3 makeedit multilib pax-utils autotools python speed-mercurial
+inherit eutils flag-o-matic toolchain-funcs eutils prefix mozconfig-3 makeedit multilib pax-utils autotools python
[[ "${PN}" != "xulrunner" ]] && inherit fdo-mime mozextension
EXPORT_FUNCTIONS pkg_setup src_unpack src_compile src_install pkg_postinst
@@ -50,10 +44,6 @@ MAJ_XUL_PV="2.0"
MEXTENSIONS="default"
use mozdom && MEXTENSIONS+=",inspector"
-# @ECLASS-VARIABLE: EHG_REPO_URI
-# @DESCRIPTION:
-# Mercurial repository URI.
-
# @ECLASS-VARIABLE: EHG_REVISION
# @DESCRIPTION:
# Create working directory for specified revision, defaults to tip.
@@ -149,8 +139,6 @@ function mercurial_fetch {
einfo "Work directory: ${WORKDIR}/${module}"
}
-# @FUNCTION: mercurial_src_unpack
-# @DESCRIPTION:
function mozilla-scm_src_unpack {
mercurial_fetch "http://hg.mozilla.org/mozilla-central/"
for repo in ${MOZILLA_BONUS_REPOS_URIS}; do