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

Contents of /eclass/php-ezc.eclass

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (hide annotations) (download)
Fri Jul 17 18:02:35 2015 UTC (16 months, 3 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 grknight 1.8 # Copyright 1999-2015 Gentoo Foundation
2 sebastian 1.1 # Distributed under the terms of the GNU General Public License v2
3 grknight 1.9 # $Header: /var/cvsroot/gentoo-x86/eclass/php-ezc.eclass,v 1.8 2015/06/17 19:23:34 grknight Exp $
4 jokey 1.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 grknight 1.8 # This eclass is no longer in use and scheduled to be removed on 2015-07-17
13     # @DEAD
14 sebastian 1.1
15     inherit php-pear-r1
16    
17 chtekk 1.2 EZC_PKG_NAME="${PN/ezc-/}"
18 sebastian 1.1
19     fix_EZC_PV() {
20 chtekk 1.2 tmp="${PV}"
21     tmp="${tmp/_/}"
22     tmp="${tmp/rc/RC}"
23     tmp="${tmp/beta/b}"
24     EZC_PV="${tmp}"
25 sebastian 1.1 }
26    
27 jokey 1.4 # @ECLASS-VARIABLE: EZC_PV
28     # @DESCRIPTION:
29 jokey 1.5 # Set in ebuild before inherit if the eclass ${PV} mangling of beta/rc
30     # versions breaks SRC_URI.
31 jokey 1.3 [[ -z "${EZC_PV}" ]] && fix_EZC_PV
32    
33 chtekk 1.2 EZC_PN="${EZC_PKG_NAME}-${EZC_PV}"
34 sebastian 1.1
35     S="${WORKDIR}/${EZC_PN}"
36    
37 chtekk 1.2 DEPEND=">=dev-lang/php-5.1.2
38 sebastian 1.1 >=dev-php/PEAR-PEAR-1.4.6"
39    
40 jokey 1.5 # @ECLASS-VARIABLE: EZC_BASE_MIN
41     # @DESCRIPTION:
42 mabi 1.6 # Minimal dev-php/ezc-Base version required for given eZ component version.
43 jokey 1.5 # Set in ebuild before inherit.
44     [[ -z "${EZC_BASE_MIN}" ]] && EZC_BASE_MIN="1.0"
45    
46     if [[ "${PN}" != "ezc-Base" ]] ; then
47 mabi 1.6 RDEPEND="${DEPEND} >=dev-php/ezc-Base-${EZC_BASE_MIN}"
48 jokey 1.5 else
49     RDEPEND="${DEPEND}"
50     fi
51 sebastian 1.1
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