summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Bergmann <sebastian@gentoo.org>2006-01-23 14:36:29 +0000
committerSebastian Bergmann <sebastian@gentoo.org>2006-01-23 14:36:29 +0000
commit69a47dcd024a3ac2b83240e47f2b4bc85dd857ea (patch)
tree7353f8916a1cb93994bf70feb081325858514c36 /eclass/php-ezc.eclass
parentUpdate for PEAR 1.4. (diff)
downloadgentoo-2-69a47dcd024a3ac2b83240e47f2b4bc85dd857ea.tar.gz
gentoo-2-69a47dcd024a3ac2b83240e47f2b4bc85dd857ea.tar.bz2
gentoo-2-69a47dcd024a3ac2b83240e47f2b4bc85dd857ea.zip
Add eclass for eZ components.
Diffstat (limited to 'eclass/php-ezc.eclass')
-rw-r--r--eclass/php-ezc.eclass38
1 files changed, 38 insertions, 0 deletions
diff --git a/eclass/php-ezc.eclass b/eclass/php-ezc.eclass
new file mode 100644
index 000000000000..f827a3cfa3aa
--- /dev/null
+++ b/eclass/php-ezc.eclass
@@ -0,0 +1,38 @@
+# Copyright 1999-2006 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 $
+#
+# Maintained by the PHP Herd <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.
+
+inherit php-pear-r1
+
+EZC_PKG_NAME=${PN/ezc-/}
+
+fix_EZC_PV() {
+ 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}
+
+S="${WORKDIR}/${EZC_PN}"
+
+DEPEND="${DEPEND}
+ >=dev-lang/php-5.1.1
+ >=dev-php/PEAR-PEAR-1.4.6"
+
+RDEPEND="${RDEPEND}
+ ${DEPEND}
+ dev-php5/ezc-Base"
+
+SRC_URI="http://components.ez.no/get/${EZC_PN}.tgz"
+HOMEPAGE="http://ez.no/products/ez_components"
+LICENSE="BSD"