summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Longinotti <chtekk@gentoo.org>2007-03-05 01:50:47 +0000
committerLuca Longinotti <chtekk@gentoo.org>2007-03-05 01:50:47 +0000
commit3866af48f35422b30b80deefcf0de589c569ddf7 (patch)
treeb543212474a6c4d3d0c296fcc01716ecd5e14711 /eclass/php-ezc.eclass
parentFix compile on 5.2. (diff)
downloadgentoo-2-3866af48f35422b30b80deefcf0de589c569ddf7.tar.gz
gentoo-2-3866af48f35422b30b80deefcf0de589c569ddf7.tar.bz2
gentoo-2-3866af48f35422b30b80deefcf0de589c569ddf7.zip
New updated PHP eclasses, fix lots of bugs, introduce PHP 5.2 support.
Diffstat (limited to 'eclass/php-ezc.eclass')
-rw-r--r--eclass/php-ezc.eclass28
1 files changed, 13 insertions, 15 deletions
diff --git a/eclass/php-ezc.eclass b/eclass/php-ezc.eclass
index f827a3cfa3aa..33d0c7285371 100644
--- a/eclass/php-ezc.eclass
+++ b/eclass/php-ezc.eclass
@@ -1,36 +1,34 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/php-ezc.eclass,v 1.1 2006/01/23 14:36:29 sebastian Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php-ezc.eclass,v 1.2 2007/03/05 01:50:47 chtekk Exp $
#
-# Maintained by the PHP Herd <php-bugs@gentoo.org>
+# Maintained by the PHP Team <php-bugs@gentoo.org>
#
# The php-ezc eclass provides means for an easy installation
-# for the eZ components, see http://ez.no/products/ez_components.
+# of the eZ components, see http://ez.no/products/ez_components
inherit php-pear-r1
-EZC_PKG_NAME=${PN/ezc-/}
+EZC_PKG_NAME="${PN/ezc-/}"
fix_EZC_PV() {
- tmp=${PV}
- tmp=${tmp/_/}
- tmp=${tmp/rc/RC}
- tmp=${tmp/beta/b}
- EZC_PV=${tmp}
+ tmp="${PV}"
+ tmp="${tmp/_/}"
+ tmp="${tmp/rc/RC}"
+ tmp="${tmp/beta/b}"
+ EZC_PV="${tmp}"
}
EZC_PV=""
fix_EZC_PV
-EZC_PN=${EZC_PKG_NAME}-${EZC_PV}
+EZC_PN="${EZC_PKG_NAME}-${EZC_PV}"
S="${WORKDIR}/${EZC_PN}"
-DEPEND="${DEPEND}
- >=dev-lang/php-5.1.1
+DEPEND=">=dev-lang/php-5.1.2
>=dev-php/PEAR-PEAR-1.4.6"
-RDEPEND="${RDEPEND}
- ${DEPEND}
+RDEPEND="${DEPEND}
dev-php5/ezc-Base"
SRC_URI="http://components.ez.no/get/${EZC_PN}.tgz"