/[gentoo-x86]/eclass/php-ezc.eclass
Gentoo

Diff of /eclass/php-ezc.eclass

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

Revision 1.1 Revision 1.2
1# Copyright 1999-2006 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/php-ezc.eclass,v 1.1 2006/01/23 14:36:29 sebastian Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/php-ezc.eclass,v 1.2 2007/03/05 01:50:47 chtekk Exp $
4# 4#
5# Maintained by the PHP Herd <php-bugs@gentoo.org> 5# Maintained by the PHP Team <php-bugs@gentoo.org>
6# 6#
7# The php-ezc eclass provides means for an easy installation 7# The php-ezc eclass provides means for an easy installation
8# for the eZ components, see http://ez.no/products/ez_components. 8# of the eZ components, see http://ez.no/products/ez_components
9 9
10inherit php-pear-r1 10inherit php-pear-r1
11 11
12EZC_PKG_NAME=${PN/ezc-/} 12EZC_PKG_NAME="${PN/ezc-/}"
13 13
14fix_EZC_PV() { 14fix_EZC_PV() {
15 tmp=${PV} 15 tmp="${PV}"
16 tmp=${tmp/_/} 16 tmp="${tmp/_/}"
17 tmp=${tmp/rc/RC} 17 tmp="${tmp/rc/RC}"
18 tmp=${tmp/beta/b} 18 tmp="${tmp/beta/b}"
19 EZC_PV=${tmp} 19 EZC_PV="${tmp}"
20} 20}
21 21
22EZC_PV="" 22EZC_PV=""
23fix_EZC_PV 23fix_EZC_PV
24EZC_PN=${EZC_PKG_NAME}-${EZC_PV} 24EZC_PN="${EZC_PKG_NAME}-${EZC_PV}"
25 25
26S="${WORKDIR}/${EZC_PN}" 26S="${WORKDIR}/${EZC_PN}"
27 27
28DEPEND="${DEPEND}
29 >=dev-lang/php-5.1.1 28DEPEND=">=dev-lang/php-5.1.2
30 >=dev-php/PEAR-PEAR-1.4.6" 29 >=dev-php/PEAR-PEAR-1.4.6"
31 30
32RDEPEND="${RDEPEND} 31RDEPEND="${DEPEND}
33 ${DEPEND}
34 dev-php5/ezc-Base" 32 dev-php5/ezc-Base"
35 33
36SRC_URI="http://components.ez.no/get/${EZC_PN}.tgz" 34SRC_URI="http://components.ez.no/get/${EZC_PN}.tgz"
37HOMEPAGE="http://ez.no/products/ez_components" 35HOMEPAGE="http://ez.no/products/ez_components"
38LICENSE="BSD" 36LICENSE="BSD"

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

  ViewVC Help
Powered by ViewVC 1.1.20