summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Ullmann <jokey@gentoo.org>2007-09-01 15:58:17 +0000
committerMarkus Ullmann <jokey@gentoo.org>2007-09-01 15:58:17 +0000
commit8bd9da90a394ebe83d8dfee150dd4de05d112d06 (patch)
tree4e877a99b02ecf4da24e8192a16a3d64d2cf751c /eclass/php-ext-pecl-r1.eclass
parentStable on ppc wrt bug 190796 (diff)
downloadhistorical-8bd9da90a394ebe83d8dfee150dd4de05d112d06.tar.gz
historical-8bd9da90a394ebe83d8dfee150dd4de05d112d06.tar.bz2
historical-8bd9da90a394ebe83d8dfee150dd4de05d112d06.zip
Bunch of php eclass docification
Diffstat (limited to 'eclass/php-ext-pecl-r1.eclass')
-rw-r--r--eclass/php-ext-pecl-r1.eclass25
1 files changed, 20 insertions, 5 deletions
diff --git a/eclass/php-ext-pecl-r1.eclass b/eclass/php-ext-pecl-r1.eclass
index cb4f2b0e6685..8204a6f5b27d 100644
--- a/eclass/php-ext-pecl-r1.eclass
+++ b/eclass/php-ext-pecl-r1.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-pecl-r1.eclass,v 1.7 2007/08/31 10:00:56 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-pecl-r1.eclass,v 1.8 2007/09/01 15:58:17 jokey Exp $
#
# Author: Tal Peer <coredumb@gentoo.org>
# Author: Luca Longinotti <chtekk@gentoo.org>
@@ -15,12 +15,27 @@
# as a uniform way of installing PECL extensions.
# For more information about PECL, see http://pecl.php.net/
-# @VARIABLE: PHP_EXT_PECL_FILENAME
-# @DESCRIPTION:
-# Set in ebuild if the filename differs from the package name so that SRC_URI gets set correctly.
+# @ECLASS-VARIABLE: PHP_EXT_PECL_PKG
+# @DESCRIPTION:
+# 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.
+
+# @ECLASS-VARIABLE: PHP_EXT_PECL_FILENAME
+# @DESCRIPTION:
+# 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}.
# @VARIABLE: DOCS
-# @DESCRIPTION:
+# @DESCRIPTION:
# Set in ebuild if you wish to install additional, package-specific documentation.
[[ -z "${PHP_EXT_PECL_PKG}" ]] && PHP_EXT_PECL_PKG="${PN/pecl-/}"