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

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

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

Revision 1.3 Revision 1.4
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 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-r1.eclass,v 1.3 2005/09/08 17:01:02 beu Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/php-pear-r1.eclass,v 1.4 2005/09/11 16:39:10 hollow Exp $
4# 4#
5# Author: Tal Peer <coredumb@gentoo.org> 5# Author: Tal Peer <coredumb@gentoo.org>
6# 6#
7# The php-pear eclass provides means for easy installation of PEAR 7# The php-pear eclass provides means for easy installation of PEAR
8# packages, see http://pear.php.net 8# packages, see http://pear.php.net
16# portage (generally shouldn't be the case). 16# portage (generally shouldn't be the case).
17[ -z "${PHP_PEAR_PKG_NAME}" ] && PHP_PEAR_PKG_NAME=${PN/PEAR-/} 17[ -z "${PHP_PEAR_PKG_NAME}" ] && PHP_PEAR_PKG_NAME=${PN/PEAR-/}
18 18
19# We must depend on the base package as we need it to do 19# We must depend on the base package as we need it to do
20# install tasks (it provides the pear binary). 20# install tasks (it provides the pear binary).
21DEPEND="${DEPEND} dev-lang/php" 21DEPEND="${DEPEND} dev-lang/php >=dev-php/PEAR-PEAR-1.3.6"
22RDEPEND="${RDEPEND} ${DEPEND}" 22RDEPEND="${RDEPEND} ${DEPEND}"
23 23
24fix_PEAR_PV() { 24fix_PEAR_PV() {
25 tmp=${PV} 25 tmp=${PV}
26 tmp=${tmp/_/} 26 tmp=${tmp/_/}

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.20