/[gentoo-x86]/eclass/php-pear-lib-r1.eclass
Gentoo

Diff of /eclass/php-pear-lib-r1.eclass

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

Revision 1.27 Revision 1.28
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2015 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-pear-lib-r1.eclass,v 1.27 2012/08/22 15:06:20 olemarkus Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/php-pear-lib-r1.eclass,v 1.28 2015/02/11 02:53:18 grknight Exp $
4 4
5# @ECLASS: php-pear-lib-r1.eclass 5# @ECLASS: php-pear-lib-r1.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:
15 15
16inherit multilib 16inherit multilib
17 17
18EXPORT_FUNCTIONS pkg_setup src_install 18EXPORT_FUNCTIONS pkg_setup src_install
19 19
20# Silence repoman warnings
21case "${EAPI:-0}" in
22 5)
23 PHP_DEPEND="dev-lang/php:*"
24 ;;
25 *)
20DEPEND="dev-lang/php 26 PHP_DEPEND="dev-lang/php"
27 ;;
28esac
29
30DEPEND="${PHP_DEPEND}
21 >=dev-php/pear-1.9.0" 31 >=dev-php/pear-1.9.0"
22RDEPEND="${DEPEND}" 32RDEPEND="${DEPEND}"
23 33
24if [[ -n $PHP_PEAR_CHANNEL ]] ; then 34if [[ -n $PHP_PEAR_CHANNEL ]] ; then
25 PHP_PEAR_PV=${PV/_rc/RC} 35 PHP_PEAR_PV=${PV/_rc/RC}

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28

  ViewVC Help
Powered by ViewVC 1.1.20