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

Contents of /eclass/php-ezc.eclass

Parent Directory Parent Directory | Revision Log Revision Log


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

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $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
13 inherit php-pear-r1
14
15 EZC_PKG_NAME="${PN/ezc-/}"
16
17 fix_EZC_PV() {
18 tmp="${PV}"
19 tmp="${tmp/_/}"
20 tmp="${tmp/rc/RC}"
21 tmp="${tmp/beta/b}"
22 EZC_PV="${tmp}"
23 }
24
25 # @ECLASS-VARIABLE: EZC_PV
26 # @DESCRIPTION:
27 # Set in ebuild if the eclass ${PV} mangling of beta/rc versions breaks SRC_URI.
28 [[ -z "${EZC_PV}" ]] && fix_EZC_PV
29
30 EZC_PN="${EZC_PKG_NAME}-${EZC_PV}"
31
32 S="${WORKDIR}/${EZC_PN}"
33
34 DEPEND=">=dev-lang/php-5.1.2
35 >=dev-php/PEAR-PEAR-1.4.6"
36
37 RDEPEND="${DEPEND}
38 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