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

Contents of /eclass/php-ezc.eclass

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download)
Sat Sep 1 15:58:17 2007 UTC (7 years, 3 months ago) by jokey
Branch: MAIN
Changes since 1.3: +12 -7 lines
Bunch of php eclass docification

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 jokey 1.4 # $Header: $
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 sebastian 1.1
13     inherit php-pear-r1
14    
15 chtekk 1.2 EZC_PKG_NAME="${PN/ezc-/}"
16 sebastian 1.1
17     fix_EZC_PV() {
18 chtekk 1.2 tmp="${PV}"
19     tmp="${tmp/_/}"
20     tmp="${tmp/rc/RC}"
21     tmp="${tmp/beta/b}"
22     EZC_PV="${tmp}"
23 sebastian 1.1 }
24    
25 jokey 1.4 # @ECLASS-VARIABLE: EZC_PV
26     # @DESCRIPTION:
27     # Set in ebuild if the eclass ${PV} mangling of beta/rc versions breaks SRC_URI.
28 jokey 1.3 [[ -z "${EZC_PV}" ]] && fix_EZC_PV
29    
30 chtekk 1.2 EZC_PN="${EZC_PKG_NAME}-${EZC_PV}"
31 sebastian 1.1
32     S="${WORKDIR}/${EZC_PN}"
33    
34 chtekk 1.2 DEPEND=">=dev-lang/php-5.1.2
35 sebastian 1.1 >=dev-php/PEAR-PEAR-1.4.6"
36    
37 chtekk 1.2 RDEPEND="${DEPEND}
38 sebastian 1.1 dev-php5/ezc-Base"
39    
40     SRC_URI="http://components.ez.no/get/${EZC_PN}.tgz"
41     HOMEPAGE="http://ez.no/products/ez_components"
42     LICENSE="BSD"

  ViewVC Help
Powered by ViewVC 1.1.20