From 9464d6ca8575180440361510f35a07855def5490 Mon Sep 17 00:00:00 2001 From: Sardem FF7 Date: Wed, 26 Jan 2011 22:50:04 +0100 Subject: Little cleanup --- eclass/mozilla-scm.eclass | 24 ++++++------------------ 1 file 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 -# Dirkjan Ochtman -# @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 +# @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 -- cgit v1.2.3-65-gdbad