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

Contents of /eclass/php-ezc.eclass

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Fri Jul 17 18:02:35 2015 UTC (2 weeks ago) by grknight
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
Drop old, unused eclasses wrt bug 551910

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/eclass/php-ezc.eclass,v 1.8 2015/06/17 19:23:34 grknight Exp $
4
5 # @ECLASS: php-ezc.eclass
6 # @MAINTAINER:
7 # Gentoo PHP team <php-bugs@gentoo.org>
8 # @BLURB: Provides an easy installation of the eZcomponents.
9 # @DESCRIPTION:
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
12 # This eclass is no longer in use and scheduled to be removed on 2015-07-17
13 # @DEAD
14
15 inherit php-pear-r1
16
17 EZC_PKG_NAME="${PN/ezc-/}"
18
19 fix_EZC_PV() {
20 tmp="${PV}"
21 tmp="${tmp/_/}"
22 tmp="${tmp/rc/RC}"
23 tmp="${tmp/beta/b}"
24 EZC_PV="${tmp}"
25 }
26
27 # @ECLASS-VARIABLE: EZC_PV
28 # @DESCRIPTION:
29 # Set in ebuild before inherit if the eclass ${PV} mangling of beta/rc
30 # versions breaks SRC_URI.
31 [[ -z "${EZC_PV}" ]] && fix_EZC_PV
32
33 EZC_PN="${EZC_PKG_NAME}-${EZC_PV}"
34
35 S="${WORKDIR}/${EZC_PN}"
36
37 DEPEND=">=dev-lang/php-5.1.2
38 >=dev-php/PEAR-PEAR-1.4.6"
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
46 if [[ "${PN}" != "ezc-Base" ]] ; then
47 RDEPEND="${DEPEND} >=dev-php/ezc-Base-${EZC_BASE_MIN}"
48 else
49 RDEPEND="${DEPEND}"
50 fi
51
52 SRC_URI="http://components.ez.no/get/${EZC_PN}.tgz"
53 HOMEPAGE="http://ez.no/products/ez_components"
54 LICENSE="BSD"

  ViewVC Help
Powered by ViewVC 1.1.20