| 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.10 2007/03/05 01:50:47 chtekk Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/php-pear-lib-r1.eclass,v 1.11 2007/03/22 20:12:56 chtekk Exp $ |
| 4 | # |
4 | # |
| 5 | # Author: Luca Longinotti <chtekk@gentoo.org> |
5 | # Author: Luca Longinotti <chtekk@gentoo.org> |
| 6 | # Maintained by the PHP Team <php-bugs@gentoo.org> |
6 | # Maintained by the PHP Team <php-bugs@gentoo.org> |
| 7 | # |
7 | # |
| 8 | # The php-pear-lib-r1 eclass provides means for an easy installation of PEAR |
8 | # The php-pear-lib-r1 eclass provides means for an easy installation of PEAR |
| … | |
… | |
| 20 | has_php |
20 | has_php |
| 21 | |
21 | |
| 22 | # SNMP support |
22 | # SNMP support |
| 23 | addpredict /usr/share/snmp/mibs/.index |
23 | addpredict /usr/share/snmp/mibs/.index |
| 24 | addpredict /var/lib/net-snmp/ |
24 | addpredict /var/lib/net-snmp/ |
|
|
25 | addpredict /session_mm_cli0.sem |
| 25 | |
26 | |
| 26 | case "${CATEGORY}" in |
27 | case "${CATEGORY}" in |
| 27 | dev-php) |
28 | dev-php) |
| 28 | if has_version '=dev-lang/php-5*' ; then |
29 | if has_version '=dev-lang/php-5*' ; then |
| 29 | PHP_BIN="/usr/lib/php5/bin/php" |
30 | PHP_BIN="/usr/lib/php5/bin/php" |