| 1 | # Copyright 1999-2011 Gentoo Foundation |
1 | # Copyright 1999-2011 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-source-r2.eclass,v 1.17 2011/09/09 14:39:39 olemarkus Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-source-r2.eclass,v 1.18 2011/11/24 00:04:39 vapier Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: php-ext-source-r2.eclass |
5 | # @ECLASS: php-ext-source-r2.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # Gentoo PHP team <php-bugs@gentoo.org> |
7 | # Gentoo PHP team <php-bugs@gentoo.org> |
| 8 | # @AUTHOR: |
8 | # @AUTHOR: |
| … | |
… | |
| 17 | # PHP extensions (modules). |
17 | # PHP extensions (modules). |
| 18 | |
18 | |
| 19 | inherit flag-o-matic autotools |
19 | inherit flag-o-matic autotools |
| 20 | |
20 | |
| 21 | EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_install |
21 | EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_install |
| 22 | |
|
|
| 23 | # @ECLASS-VARIABLE: PHP_EXT_NAME |
|
|
| 24 | # @DESCRIPTION: |
|
|
| 25 | # The extension name. This must be set, otherwise the eclass dies. |
|
|
| 26 | # Only automagically set by php-ext-pecl-r1.eclass, so unless your ebuild |
|
|
| 27 | # inherits that eclass, you must set this manually before inherit. |
|
|
| 28 | [[ -z "${PHP_EXT_NAME}" ]] && die "No module name specified for the php-ext-source-r2 eclass" |
|
|
| 29 | |
22 | |
| 30 | DEPEND=">=sys-devel/m4-1.4.3 |
23 | DEPEND=">=sys-devel/m4-1.4.3 |
| 31 | >=sys-devel/libtool-1.5.18" |
24 | >=sys-devel/libtool-1.5.18" |
| 32 | RDEPEND="" |
25 | RDEPEND="" |
| 33 | |
26 | |