/[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.1 Revision 1.2
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.1 2005/09/04 10:54:53 stuart Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/php-ext-pecl-r1.eclass,v 1.2 2005/10/31 14:08:42 chtekk Exp $
4# 4#
5# Author: Tal Peer <coredumb@gentoo.org> 5# Author: Tal Peer <coredumb@gentoo.org>
6# 6#
7# This eclass should be used by all dev-php/PECL-* ebuilds, as a uniform way of installing PECL extensions. 7# This eclass should be used by all dev-php/PECL-* ebuilds, as a uniform way of installing PECL extensions.
8# For more information about PECL, see: http://pecl.php.net 8# For more information about PECL, see: http://pecl.php.net
28 28
29# ---end ebuild configurable settings 29# ---end ebuild configurable settings
30 30
31SRC_URI="http://pecl.php.net/get/${FILENAME}" 31SRC_URI="http://pecl.php.net/get/${FILENAME}"
32HOMEPAGE="http://pecl.php.net/${PECL_PKG}" 32HOMEPAGE="http://pecl.php.net/${PECL_PKG}"
33
33S=${WORKDIR}/${PECL_PKG_V} 34S="${WORKDIR}/${PECL_PKG_V}"
34 35
35php-ext-pecl-r1_src_compile() { 36php-ext-pecl-r1_src_compile() {
36 has_php 37 has_php
37 php-ext-source-r1_src_compile 38 php-ext-source-r1_src_compile
38} 39}
40php-ext-pecl-r1_src_install() { 41php-ext-pecl-r1_src_install() {
41 has_php 42 has_php
42 php-ext-source-r1_src_install 43 php-ext-source-r1_src_install
43 44
44 # Those two are always present 45 # Those two are always present
45 dodoc ${WORKDIR}/package.xml CREDITS 46 dodoc-php "${WORKDIR}/package.xml" CREDITS
46} 47}

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20