/[gentoo-x86]/eclass/php-ext-pecl-r1.eclass
Gentoo

Diff of /eclass/php-ext-pecl-r1.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.7 Revision 1.8
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/Attic/php-ext-pecl-r1.eclass,v 1.7 2007/08/31 10:00:56 jokey Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/php-ext-pecl-r1.eclass,v 1.8 2007/09/01 15:58:17 jokey Exp $
4# 4#
5# Author: Tal Peer <coredumb@gentoo.org> 5# Author: Tal Peer <coredumb@gentoo.org>
6# Author: Luca Longinotti <chtekk@gentoo.org> 6# Author: Luca Longinotti <chtekk@gentoo.org>
7# Author: Jakub Moc <jakub@gentoo.org> 7# Author: Jakub Moc <jakub@gentoo.org>
8 8
13# @DESCRIPTION: 13# @DESCRIPTION:
14# This eclass should be used by all dev-php[45]/pecl-* ebuilds 14# This eclass should be used by all dev-php[45]/pecl-* ebuilds
15# as a uniform way of installing PECL extensions. 15# as a uniform way of installing PECL extensions.
16# For more information about PECL, see http://pecl.php.net/ 16# For more information about PECL, see http://pecl.php.net/
17 17
18# @VARIABLE: PHP_EXT_PECL_FILENAME 18# @ECLASS-VARIABLE: PHP_EXT_PECL_PKG
19# @DESCRIPTION: 19# @DESCRIPTION:
20# Set in ebuild if the filename differs from the package name so that SRC_URI gets set correctly. 20# Set in ebuild before inheriting this eclass if the tarball name
21# differs from ${PN/pecl-/} so that SRC_URI and HOMEPAGE gets set
22# correctly by the eclass.
23#
24# Setting this variable manually also affects PHP_EXT_NAME and ${S}
25# unless you override those in ebuild. Also see PHP_EXT_PECL_FILENAME
26# if this is not desired for whatever reason.
27
28# @ECLASS-VARIABLE: PHP_EXT_PECL_FILENAME
29# @DESCRIPTION:
30# Set in ebuild before inheriting this eclass if the tarball name
31# differs from ${PN/pecl-/} so that SRC_URI gets set correctly by
32# the eclass.
33#
34# Unlike PHP_EXT_PECL_PKG, setting this variable does not affect
35# HOMEPAGE, PHP_EXT_NAME or ${S}.
21 36
22# @VARIABLE: DOCS 37# @VARIABLE: DOCS
23# @DESCRIPTION: 38# @DESCRIPTION:
24# Set in ebuild if you wish to install additional, package-specific documentation. 39# Set in ebuild if you wish to install additional, package-specific documentation.
25 40
26[[ -z "${PHP_EXT_PECL_PKG}" ]] && PHP_EXT_PECL_PKG="${PN/pecl-/}" 41[[ -z "${PHP_EXT_PECL_PKG}" ]] && PHP_EXT_PECL_PKG="${PN/pecl-/}"
27 42
28PECL_PKG="${PHP_EXT_PECL_PKG}" 43PECL_PKG="${PHP_EXT_PECL_PKG}"

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.20