| 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/Attic/php-ext-pecl-r1.eclass,v 1.2 2005/10/31 14:08:42 chtekk Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/Attic/php-ext-pecl-r1.eclass,v 1.3 2005/11/20 01:35:05 chtekk Exp $ |
| 4 | # |
4 | # |
| 5 | # Author: Tal Peer <coredumb@gentoo.org> |
5 | # Author: Tal Peer <coredumb@gentoo.org> |
|
|
6 | # Maintained by the PHP Herd <php-bugs@gentoo.org> |
| 6 | # |
7 | # |
| 7 | # This eclass should be used by all dev-php/PECL-* ebuilds, as a uniform way of installing PECL extensions. |
8 | # This eclass should be used by all dev-php[4,5]/pecl-* ebuilds, as a uniform way of installing PECL extensions. |
| 8 | # For more information about PECL, see: http://pecl.php.net |
9 | # For more information about PECL, see: http://pecl.php.net |
| 9 | |
10 | |
| 10 | [ -z "${PHP_EXT_PECL_PKG}" ] && PHP_EXT_PECL_PKG=${PN/pecl-/} |
11 | [ -z "${PHP_EXT_PECL_PKG}" ] && PHP_EXT_PECL_PKG=${PN/pecl-/} |
| 11 | PECL_PKG=${PHP_EXT_PECL_PKG} |
12 | PECL_PKG=${PHP_EXT_PECL_PKG} |
| 12 | PECL_PKG_V=${PECL_PKG}-${PV} |
13 | PECL_PKG_V=${PECL_PKG}-${PV} |