| 1 | # Copyright 1999-2004 Gentoo Foundation |
1 | # Copyright 1999-2004 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.apache.eclass,v 1.1 2004/07/16 10:48:22 stuart Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/depend.apache.eclass,v 1.3 2004/07/24 08:39:33 stuart Exp $ |
| 4 | |
4 | |
| 5 | ECLASS="depend.apache" |
5 | ECLASS="depend.apache" |
| 6 | INHERITED="$INHERITED $ECLASS" |
6 | INHERITED="$INHERITED $ECLASS" |
| 7 | IUSE="apache apache2" |
7 | IUSE="apache apache2" |
|
|
8 | |
|
|
9 | # remember to set MY_SLOT if you want to include something like ${PVR} in |
|
|
10 | # the slot information |
|
|
11 | # SLOT="apache? ( 1{$MY_SLOT} ) apache2? ( 2{$MY_SLOT} ) !apache1? ( !apache2? ( 2${MY_SLOT} ) )" |
|
|
12 | |
|
|
13 | DEPEND="$DEPEND apache? ( =net-www/apache-1* ) apache2? ( =net-www/apache-2* ) |
|
|
14 | !apache? ( !apache2? ( net-www/apache-2* ) )" |
| 8 | |
15 | |
| 9 | # call this function to work out which version of the apache web server |
16 | # call this function to work out which version of the apache web server |
| 10 | # your ebuild should be installing itself to use |
17 | # your ebuild should be installing itself to use |
| 11 | |
18 | |
| 12 | detect_apache_useflags() { |
19 | detect_apache_useflags() { |