/[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.3 Revision 1.4
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2007 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/php-ezc.eclass,v 1.3 2007/08/31 09:40:33 jokey Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/php-ezc.eclass,v 1.4 2007/09/01 15:58:17 jokey Exp $
4# 4
5# @ECLASS: php-ezc.eclass
6# @MAINTAINER:
5# Maintained by the PHP Team <php-bugs@gentoo.org> 7# Gentoo PHP team <php-bugs@gentoo.org>
6# 8# @BLURB: Provides an easy installation of the eZcomponents.
9# @DESCRIPTION:
7# The php-ezc eclass provides means for an easy installation 10# This eclass provides means for an easy installation of the eZ components.
8# of the eZ components, see http://ez.no/products/ez_components 11# For more information on eZcomponents see http://ez.no/products/ez_components
9 12
10inherit php-pear-r1 13inherit php-pear-r1
11 14
12EZC_PKG_NAME="${PN/ezc-/}" 15EZC_PKG_NAME="${PN/ezc-/}"
13 16
17 tmp="${tmp/rc/RC}" 20 tmp="${tmp/rc/RC}"
18 tmp="${tmp/beta/b}" 21 tmp="${tmp/beta/b}"
19 EZC_PV="${tmp}" 22 EZC_PV="${tmp}"
20} 23}
21 24
25# @ECLASS-VARIABLE: EZC_PV
26# @DESCRIPTION:
22# set EZC_PV in ebuilds if the PV mangling of beta/rc versions breaks SRC_URI 27# Set in ebuild if the eclass ${PV} mangling of beta/rc versions breaks SRC_URI.
23[[ -z "${EZC_PV}" ]] && fix_EZC_PV 28[[ -z "${EZC_PV}" ]] && fix_EZC_PV
24 29
25EZC_PN="${EZC_PKG_NAME}-${EZC_PV}" 30EZC_PN="${EZC_PKG_NAME}-${EZC_PV}"
26 31
27S="${WORKDIR}/${EZC_PN}" 32S="${WORKDIR}/${EZC_PN}"

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

  ViewVC Help
Powered by ViewVC 1.1.20