/[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.1.1.1
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.1.1.1 2005/11/30 09:59:32 chriswhite Exp $
4# 4#
5# Author: Tal Peer <coredumb@gentoo.org> 5# Author: Tal Peer <coredumb@gentoo.org>
6# Maintained by the PHP Herd <php-bugs@gentoo.org>
6# 7#
7# This eclass should be used by all dev-php/PECL-* ebuilds, as a uniform way of installing PECL extensions. 8# This eclass should be used by all dev-php[4,5]/pecl-* ebuilds, as a uniform way of installing PECL extensions.
8# For more information about PECL, see: http://pecl.php.net 9# For more information about PECL, see: http://pecl.php.net
9 10
10[ -z "${PHP_EXT_PECL_PKG}" ] && PHP_EXT_PECL_PKG=${PN/pecl-/} 11[ -z "${PHP_EXT_PECL_PKG}" ] && PHP_EXT_PECL_PKG=${PN/pecl-/}
11PECL_PKG=${PHP_EXT_PECL_PKG} 12PECL_PKG=${PHP_EXT_PECL_PKG}
12PECL_PKG_V=${PECL_PKG}-${PV} 13PECL_PKG_V=${PECL_PKG}-${PV}
28 29
29# ---end ebuild configurable settings 30# ---end ebuild configurable settings
30 31
31SRC_URI="http://pecl.php.net/get/${FILENAME}" 32SRC_URI="http://pecl.php.net/get/${FILENAME}"
32HOMEPAGE="http://pecl.php.net/${PECL_PKG}" 33HOMEPAGE="http://pecl.php.net/${PECL_PKG}"
34
33S=${WORKDIR}/${PECL_PKG_V} 35S="${WORKDIR}/${PECL_PKG_V}"
34 36
35php-ext-pecl-r1_src_compile() { 37php-ext-pecl-r1_src_compile() {
36 has_php 38 has_php
37 php-ext-source-r1_src_compile 39 php-ext-source-r1_src_compile
38} 40}
40php-ext-pecl-r1_src_install() { 42php-ext-pecl-r1_src_install() {
41 has_php 43 has_php
42 php-ext-source-r1_src_install 44 php-ext-source-r1_src_install
43 45
44 # Those two are always present 46 # Those two are always present
45 dodoc ${WORKDIR}/package.xml CREDITS 47 dodoc-php "${WORKDIR}/package.xml" CREDITS
46} 48}

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

  ViewVC Help
Powered by ViewVC 1.1.20