Gentoo Development Guide
PHP-EXT-PECL-R1.ECLASS
Section: portage (5)Updated: May 2013
Index Return to Main Contents
NAME
php-ext-pecl-r1.eclass - A uniform way of installing PECL extensionsDESCRIPTION
This eclass should be used by all dev-php[45]/pecl-* ebuilds as a uniform way of installing PECL extensions. For more information about PECL, see http://pecl.php.net/FUNCTIONS
- php-ext-pecl-r1_src_compile
- Takes care of standard compile for PECL packages.
- php-ext-pecl-r1_src_install
- Takes care of standard install for PECL packages. You can also simply add examples to IUSE to automagically install examples supplied with the package.
- DOCS
- Set in ebuild if you wish to install additional, package-specific documentation.
- php-ext-pecl-r2_src_test
- Takes care of running any tests delivered with the PECL package. Standard phpize generates a run-tests.php file that is executed in make test We only need to force it to non-interactive mode
ECLASS VARIABLES
- PHP_EXT_PECL_PKG
-
Set in ebuild before inheriting this eclass if the tarball name
differs from ${PN/pecl-/} so that SRC_URI and HOMEPAGE gets set
correctly by the eclass.
Setting this variable manually also affects PHP_EXT_NAME and ${S} unless you override those in ebuild. Also see PHP_EXT_PECL_FILENAME if this is not desired for whatever reason.
- PHP_EXT_PECL_FILENAME
-
Set in ebuild before inheriting this eclass if the tarball name
differs from ${PN/pecl-/} so that SRC_URI gets set correctly by
the eclass.
Unlike PHP_EXT_PECL_PKG, setting this variable does not affect HOMEPAGE, PHP_EXT_NAME or ${S}.
AUTHORS
Author: Tal Peer <coredumb@gentoo.org> Author: Luca Longinotti <chtekk@gentoo.org> Author: Jakub Moc <jakub@gentoo.org>
MAINTAINERS
Gentoo PHP team <php-bugs@gentoo.org>
REPORTING BUGS
Please report bugs via http://bugs.gentoo.org/FILES
/usr/portage/eclass/php-ext-pecl-r1.eclassSEE ALSO
ebuild(5)http://sources.gentoo.org/eclass/php-ext-pecl-r1.eclass?view=log
Index
This document was created by man2html, using the manual pages.
Time: 03:25:03 GMT, May 19, 2013