/[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.4 Revision 1.8
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2015 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-ezc.eclass,v 1.4 2007/09/01 15:58:17 jokey Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/php-ezc.eclass,v 1.8 2015/06/17 19:23:34 grknight Exp $
4 4
5# @ECLASS: php-ezc.eclass 5# @ECLASS: php-ezc.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Gentoo PHP team <php-bugs@gentoo.org> 7# Gentoo PHP team <php-bugs@gentoo.org>
8# @BLURB: Provides an easy installation of the eZcomponents. 8# @BLURB: Provides an easy installation of the eZcomponents.
9# @DESCRIPTION: 9# @DESCRIPTION:
10# This eclass provides means for an easy installation of the eZ components. 10# This eclass provides means for an easy installation of the eZ components.
11# For more information on eZcomponents see http://ez.no/products/ez_components 11# For more information on eZcomponents see http://ez.no/products/ez_components
12# This eclass is no longer in use and scheduled to be removed on 2015-07-17
13# @DEAD
12 14
13inherit php-pear-r1 15inherit php-pear-r1
14 16
15EZC_PKG_NAME="${PN/ezc-/}" 17EZC_PKG_NAME="${PN/ezc-/}"
16 18
22 EZC_PV="${tmp}" 24 EZC_PV="${tmp}"
23} 25}
24 26
25# @ECLASS-VARIABLE: EZC_PV 27# @ECLASS-VARIABLE: EZC_PV
26# @DESCRIPTION: 28# @DESCRIPTION:
27# Set in ebuild if the eclass ${PV} mangling of beta/rc versions breaks SRC_URI. 29# Set in ebuild before inherit if the eclass ${PV} mangling of beta/rc
30# versions breaks SRC_URI.
28[[ -z "${EZC_PV}" ]] && fix_EZC_PV 31[[ -z "${EZC_PV}" ]] && fix_EZC_PV
29 32
30EZC_PN="${EZC_PKG_NAME}-${EZC_PV}" 33EZC_PN="${EZC_PKG_NAME}-${EZC_PV}"
31 34
32S="${WORKDIR}/${EZC_PN}" 35S="${WORKDIR}/${EZC_PN}"
33 36
34DEPEND=">=dev-lang/php-5.1.2 37DEPEND=">=dev-lang/php-5.1.2
35 >=dev-php/PEAR-PEAR-1.4.6" 38 >=dev-php/PEAR-PEAR-1.4.6"
36 39
40# @ECLASS-VARIABLE: EZC_BASE_MIN
41# @DESCRIPTION:
42# Minimal dev-php/ezc-Base version required for given eZ component version.
43# Set in ebuild before inherit.
44[[ -z "${EZC_BASE_MIN}" ]] && EZC_BASE_MIN="1.0"
45
46if [[ "${PN}" != "ezc-Base" ]] ; then
47 RDEPEND="${DEPEND} >=dev-php/ezc-Base-${EZC_BASE_MIN}"
48else
37RDEPEND="${DEPEND} 49 RDEPEND="${DEPEND}"
38 dev-php5/ezc-Base" 50fi
39 51
40SRC_URI="http://components.ez.no/get/${EZC_PN}.tgz" 52SRC_URI="http://components.ez.no/get/${EZC_PN}.tgz"
41HOMEPAGE="http://ez.no/products/ez_components" 53HOMEPAGE="http://ez.no/products/ez_components"
42LICENSE="BSD" 54LICENSE="BSD"

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.20