/[gentoo-x86]/eclass/php-pear-r1.eclass
Gentoo

Diff of /eclass/php-pear-r1.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.10 Revision 1.11
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 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-pear-r1.eclass,v 1.10 2006/01/23 14:36:18 sebastian Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/php-pear-r1.eclass,v 1.11 2006/02/01 19:28:41 sebastian Exp $
4# 4#
5# Author: Tal Peer <coredumb@gentoo.org> 5# Author: Tal Peer <coredumb@gentoo.org>
6# Maintained by the PHP Herd <php-bugs@gentoo.org> 6# Maintained by the PHP Herd <php-bugs@gentoo.org>
7# 7#
8# The php-pear-r1 eclass provides means for an easy installation of PEAR 8# The php-pear-r1 eclass provides means for an easy installation of PEAR
59 cd "${S}" 59 cd "${S}"
60 mv "${WORKDIR}/package.xml" "${S}" 60 mv "${WORKDIR}/package.xml" "${S}"
61 if has_version '=dev-php/PEAR-PEAR-1.3*' ; then 61 if has_version '=dev-php/PEAR-PEAR-1.3*' ; then
62 pear -d php_bin="${PHP_BIN}" install --nodeps --installroot="${D}" "${S}/package.xml" || die "Unable to install PEAR package" 62 pear -d php_bin="${PHP_BIN}" install --nodeps --installroot="${D}" "${S}/package.xml" || die "Unable to install PEAR package"
63 else 63 else
64 pear -d php_bin="${PHP_BIN}" install --nodeps --packagingroot="${D}" "${S}/package.xml" || die "Unable to install PEAR package" 64 pear -d php_bin="${PHP_BIN}" install --offline --nodeps --packagingroot="${D}" "${S}/package.xml" || die "Unable to install PEAR package"
65 fi 65 fi
66 rm -rf "${D}/usr/share/php/.channels" \ 66 rm -rf "${D}/usr/share/php/.channels" \
67 "${D}/usr/share/php/.depdblock" \ 67 "${D}/usr/share/php/.depdblock" \
68 "${D}/usr/share/php/.depdb" \ 68 "${D}/usr/share/php/.depdb" \
69 "${D}/usr/share/php/.filemap" \ 69 "${D}/usr/share/php/.filemap" \

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.20