/[gentoo-x86]/eclass/depend.php.eclass
Gentoo

Diff of /eclass/depend.php.eclass

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

Revision 1.28 Revision 1.29
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2007 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/depend.php.eclass,v 1.28 2010/10/12 19:34:49 olemarkus Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/depend.php.eclass,v 1.29 2011/03/18 15:59:25 olemarkus Exp $
4 4
5# Author: Stuart Herbert <stuart@gentoo.org> 5# Author: Stuart Herbert <stuart@gentoo.org>
6# Author: Luca Longinotti <chtekk@gentoo.org> 6# Author: Luca Longinotti <chtekk@gentoo.org>
7# Author: Jakub Moc <jakub@gentoo.org> (documentation) 7# Author: Jakub Moc <jakub@gentoo.org> (documentation)
8 8
23# @FUNCTION: need_php5_cli 23# @FUNCTION: need_php5_cli
24# @DESCRIPTION: 24# @DESCRIPTION:
25# Set this after setting DEPEND/RDEPEND in your ebuild if the ebuild requires PHP5 25# Set this after setting DEPEND/RDEPEND in your ebuild if the ebuild requires PHP5
26# with cli SAPI. 26# with cli SAPI.
27need_php5_cli() { 27need_php5_cli() {
28 DEPEND="${DEPEND} =virtual/php-5*" 28 DEPEND="${DEPEND} =dev-lang/php-5*"
29 RDEPEND="${RDEPEND} =virtual/php-5*" 29 RDEPEND="${RDEPEND} =dev-lang/php-5*"
30 PHP_VERSION="5" 30 PHP_VERSION="5"
31} 31}
32 32
33# @FUNCTION: need_php5_httpd 33# @FUNCTION: need_php5_httpd
34# @DESCRIPTION: 34# @DESCRIPTION:
74# @FUNCTION: need_php_cli 74# @FUNCTION: need_php_cli
75# @DESCRIPTION: 75# @DESCRIPTION:
76# Set this after setting DEPEND/RDEPEND in your ebuild if the ebuild requires PHP 76# Set this after setting DEPEND/RDEPEND in your ebuild if the ebuild requires PHP
77# (any version) with cli SAPI. 77# (any version) with cli SAPI.
78need_php_cli() { 78need_php_cli() {
79 DEPEND="${DEPEND} virtual/php" 79 DEPEND="${DEPEND} dev-lang/php"
80 RDEPEND="${RDEPEND} virtual/php" 80 RDEPEND="${RDEPEND} dev-lang/php"
81} 81}
82 82
83# @FUNCTION: need_php_httpd 83# @FUNCTION: need_php_httpd
84# @DESCRIPTION: 84# @DESCRIPTION:
85# Set this after setting DEPEND/RDEPEND in your ebuild if the ebuild requires PHP 85# Set this after setting DEPEND/RDEPEND in your ebuild if the ebuild requires PHP

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

  ViewVC Help
Powered by ViewVC 1.1.20