/[gentoo-x86]/eclass/git.eclass
Gentoo

Diff of /eclass/git.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.21 Revision 1.22
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2009 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/git.eclass,v 1.21 2009/04/07 15:03:32 scarabeus Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/git.eclass,v 1.22 2009/04/08 16:46:34 scarabeus Exp $
4 4
5# @ECLASS: git.eclass 5# @ECLASS: git.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Tomas Chvatal <scarabeus@gentoo.org> 7# Tomas Chvatal <scarabeus@gentoo.org>
8# Donnie Berkholz <dberkholz@gentoo.org> 8# Donnie Berkholz <dberkholz@gentoo.org>
12# If you use this eclass, the ${S} is ${WORKDIR}/${P}. 12# If you use this eclass, the ${S} is ${WORKDIR}/${P}.
13# It is necessary to define the EGIT_REPO_URI variable at least. 13# It is necessary to define the EGIT_REPO_URI variable at least.
14# @THANKS TO: 14# @THANKS TO:
15# Fernando J. Pereda <ferdy@gentoo.org> 15# Fernando J. Pereda <ferdy@gentoo.org>
16 16
17inherit eutils 17inherit eutils base
18 18
19EGIT="git.eclass" 19EGIT="git.eclass"
20 20
21EXPORTED_FUNCTIONS="src_unpack" 21EXPORTED_FUNCTIONS="src_unpack"
22case "${EAPI:-0}" in 22case "${EAPI:-0}" in
332# @FUNCTION: git_src_prepare 332# @FUNCTION: git_src_prepare
333# @DESCRIPTION: 333# @DESCRIPTION:
334# src_prepare function for git stuff. Patches, bootstrap... 334# src_prepare function for git stuff. Patches, bootstrap...
335git_src_prepare() { 335git_src_prepare() {
336 debug-print-function ${FUNCNAME} "$@" 336 debug-print-function ${FUNCNAME} "$@"
337 337
338 # apply EGIT_PATCHES
338 git_apply_patches 339 git_apply_patches
340 # apply patches from PATCHES array too
341 base_src_prepare
339 git_bootstrap 342 git_bootstrap
340} 343}

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

  ViewVC Help
Powered by ViewVC 1.1.20