| 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/php-ext-base-r1.eclass,v 1.4 2005/11/20 01:35:05 chtekk Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-base-r1.eclass,v 1.5 2007/02/02 19:09:33 chtekk Exp $ |
| 4 | # |
4 | # |
| 5 | # Author: Tal Peer <coredumb@gentoo.org> |
5 | # Author: Tal Peer <coredumb@gentoo.org> |
| 6 | # Author: Stuart Herbert <stuart@gentoo.org> |
6 | # Author: Stuart Herbert <stuart@gentoo.org> |
| 7 | # Maintained by the PHP Herd <php-bugs@gentoo.org> |
7 | # Maintained by the PHP Herd <php-bugs@gentoo.org> |
| 8 | # |
8 | # |
| … | |
… | |
| 26 | [ -z "${PHP_EXT_ZENDEXT}" ] && PHP_EXT_ZENDEXT="no" |
26 | [ -z "${PHP_EXT_ZENDEXT}" ] && PHP_EXT_ZENDEXT="no" |
| 27 | |
27 | |
| 28 | # Wether or not to add a line in the php.ini for the extension |
28 | # Wether or not to add a line in the php.ini for the extension |
| 29 | # (defaults to "yes" and shouldn't be changed in most cases) |
29 | # (defaults to "yes" and shouldn't be changed in most cases) |
| 30 | [ -z "${PHP_EXT_INI}" ] && PHP_EXT_INI="yes" |
30 | [ -z "${PHP_EXT_INI}" ] && PHP_EXT_INI="yes" |
| 31 | |
|
|
| 32 | # find out where to install extensions |
|
|
| 33 | EXT_DIR="`${PHPCONFIG} --extension-dir 2>/dev/null`" |
|
|
| 34 | |
31 | |
| 35 | # ---end ebuild configurable settings |
32 | # ---end ebuild configurable settings |
| 36 | |
33 | |
| 37 | DEPEND="${DEPEND} |
34 | DEPEND="${DEPEND} |
| 38 | >=sys-devel/m4-1.4.3 |
35 | >=sys-devel/m4-1.4.3 |