/[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.1 Revision 1.2
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/depend.php.eclass,v 1.1 2005/09/04 10:54:53 stuart Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/depend.php.eclass,v 1.2 2005/09/04 15:15:37 swegener Exp $
4# 4#
5# ======================================================================== 5# ========================================================================
6# 6#
7# depend.php.eclass 7# depend.php.eclass
8# functions to allow ebuilds to depend on php4 and/or php5 8# functions to allow ebuilds to depend on php4 and/or php5
116# 116#
117# this function will disappear when USE-based deps are supported by 117# this function will disappear when USE-based deps are supported by
118# Portage 118# Portage
119# 119#
120# $1 ... a list of SAPI USE flags (eg cli, cgi, apache2) 120# $1 ... a list of SAPI USE flags (eg cli, cgi, apache2)
121# 121#
122# returns if any one of the listed SAPIs has been installed 122# returns if any one of the listed SAPIs has been installed
123# dies if none of the listed SAPIs has been installed 123# dies if none of the listed SAPIs has been installed
124 124
125require_php_sapi_from() { 125require_php_sapi_from() {
126 has_php 126 has_php
155# 155#
156# this function will disappear when USE-based deps are supported by 156# this function will disappear when USE-based deps are supported by
157# Portage 157# Portage
158# 158#
159# $1 ... a list of USE flags 159# $1 ... a list of USE flags
160# 160#
161# returns if all of the listed USE flags are set 161# returns if all of the listed USE flags are set
162# dies if any of the listed USE flags are not set 162# dies if any of the listed USE flags are not set
163 163
164require_php_with_use() { 164require_php_with_use() {
165 has_php 165 has_php

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20