| 1 |
chtekk |
1.2 |
# Copyright 1999-2007 Gentoo Foundation
|
| 2 |
sebastian |
1.1 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
|
|
# $Header: $
|
| 4 |
|
|
#
|
| 5 |
chtekk |
1.2 |
# Maintained by the PHP Team <php-bugs@gentoo.org>
|
| 6 |
sebastian |
1.1 |
#
|
| 7 |
|
|
# The php-ezc eclass provides means for an easy installation
|
| 8 |
chtekk |
1.2 |
# of the eZ components, see http://ez.no/products/ez_components
|
| 9 |
sebastian |
1.1 |
|
| 10 |
|
|
inherit php-pear-r1
|
| 11 |
|
|
|
| 12 |
chtekk |
1.2 |
EZC_PKG_NAME="${PN/ezc-/}"
|
| 13 |
sebastian |
1.1 |
|
| 14 |
|
|
fix_EZC_PV() {
|
| 15 |
chtekk |
1.2 |
tmp="${PV}"
|
| 16 |
|
|
tmp="${tmp/_/}"
|
| 17 |
|
|
tmp="${tmp/rc/RC}"
|
| 18 |
|
|
tmp="${tmp/beta/b}"
|
| 19 |
|
|
EZC_PV="${tmp}"
|
| 20 |
sebastian |
1.1 |
}
|
| 21 |
|
|
|
| 22 |
|
|
EZC_PV=""
|
| 23 |
|
|
fix_EZC_PV
|
| 24 |
chtekk |
1.2 |
EZC_PN="${EZC_PKG_NAME}-${EZC_PV}"
|
| 25 |
sebastian |
1.1 |
|
| 26 |
|
|
S="${WORKDIR}/${EZC_PN}"
|
| 27 |
|
|
|
| 28 |
chtekk |
1.2 |
DEPEND=">=dev-lang/php-5.1.2
|
| 29 |
sebastian |
1.1 |
>=dev-php/PEAR-PEAR-1.4.6"
|
| 30 |
|
|
|
| 31 |
chtekk |
1.2 |
RDEPEND="${DEPEND}
|
| 32 |
sebastian |
1.1 |
dev-php5/ezc-Base"
|
| 33 |
|
|
|
| 34 |
|
|
SRC_URI="http://components.ez.no/get/${EZC_PN}.tgz"
|
| 35 |
|
|
HOMEPAGE="http://ez.no/products/ez_components"
|
| 36 |
|
|
LICENSE="BSD"
|