/[gentoo-x86]/eclass/php-ext-source-r2.eclass
Gentoo

Diff of /eclass/php-ext-source-r2.eclass

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

Revision 1.24 Revision 1.25
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 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/php-ext-source-r2.eclass,v 1.24 2012/01/19 10:12:44 mabi Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-source-r2.eclass,v 1.25 2012/02/16 11:25:38 olemarkus Exp $
4 4
5# @ECLASS: php-ext-source-r2.eclass 5# @ECLASS: php-ext-source-r2.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Gentoo PHP team <php-bugs@gentoo.org> 7# Gentoo PHP team <php-bugs@gentoo.org>
8# @AUTHOR: 8# @AUTHOR:
102# Set PHP_EXT_SKIP_PHPIZE="yes" in your ebuild if you do not want to run phpize. 102# Set PHP_EXT_SKIP_PHPIZE="yes" in your ebuild if you do not want to run phpize.
103php-ext-source-r2_src_unpack() { 103php-ext-source-r2_src_unpack() {
104 unpack ${A} 104 unpack ${A}
105 local slot orig_s="${PHP_EXT_S}" 105 local slot orig_s="${PHP_EXT_S}"
106 for slot in $(php_get_slots); do 106 for slot in $(php_get_slots); do
107 cp -r "${orig_s}" "${WORKDIR}/${slot}" 107 cp -r "${orig_s}" "${WORKDIR}/${slot}" || die "Failed to copy source ${orig_s} to PHP target directory"
108 done 108 done
109} 109}
110 110
111php-ext-source-r2_src_prepare() { 111php-ext-source-r2_src_prepare() {
112 local slot orig_s="${PHP_EXT_S}" 112 local slot orig_s="${PHP_EXT_S}"

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25

  ViewVC Help
Powered by ViewVC 1.1.20