| 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/php-pear-lib-r1.eclass,v 1.15 2009/01/12 22:48:06 maekke Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/php-pear-lib-r1.eclass,v 1.16 2010/06/09 11:11:58 mabi Exp $ |
| 4 | # |
4 | # |
| 5 | # Author: Luca Longinotti <chtekk@gentoo.org> |
5 | # Author: Luca Longinotti <chtekk@gentoo.org> |
| 6 | |
6 | |
| 7 | # @ECLASS: php-pear-lib-r1.eclass |
7 | # @ECLASS: php-pear-lib-r1.eclass |
| 8 | # @MAINTAINER: |
8 | # @MAINTAINER: |
| … | |
… | |
| 15 | |
15 | |
| 16 | inherit depend.php multilib |
16 | inherit depend.php multilib |
| 17 | |
17 | |
| 18 | EXPORT_FUNCTIONS src_install |
18 | EXPORT_FUNCTIONS src_install |
| 19 | |
19 | |
| 20 | DEPEND="dev-lang/php >=dev-php/PEAR-PEAR-1.6.1" |
20 | DEPEND="dev-lang/php |
|
|
21 | || ( ( >=dev-php/PEAR-PEAR-1.6.1 <dev-php/PEAR-PEAR-1.8.1 ) |
|
|
22 | >=dev-php/pear-1.8.1 )" |
| 21 | RDEPEND="${DEPEND}" |
23 | RDEPEND="${DEPEND}" |
| 22 | |
24 | |
| 23 | # @FUNCTION: php-pear-lib-r1_src_install |
25 | # @FUNCTION: php-pear-lib-r1_src_install |
| 24 | # @DESCRIPTION: |
26 | # @DESCRIPTION: |
| 25 | # Takes care of standard install for PEAR-based libraries. |
27 | # Takes care of standard install for PEAR-based libraries. |