diff options
author | Luca Longinotti <chtekk@gentoo.org> | 2005-10-31 14:08:42 +0000 |
---|---|---|
committer | Luca Longinotti <chtekk@gentoo.org> | 2005-10-31 14:08:42 +0000 |
commit | a260ce9122e68719d6a2dcff000a48b721326472 (patch) | |
tree | 7020a8d391e15c07e21f4b7d345902e4b1253484 /eclass/php-pear-r1.eclass | |
parent | for updates. (diff) | |
download | historical-a260ce9122e68719d6a2dcff000a48b721326472.tar.gz historical-a260ce9122e68719d6a2dcff000a48b721326472.tar.bz2 historical-a260ce9122e68719d6a2dcff000a48b721326472.zip |
New-style PHP update, see dev-lang/php ChangeLog for detailed list of changes.
Diffstat (limited to 'eclass/php-pear-r1.eclass')
-rw-r--r-- | eclass/php-pear-r1.eclass | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/eclass/php-pear-r1.eclass b/eclass/php-pear-r1.eclass index 33f403723623..06d8f3b6529b 100644 --- a/eclass/php-pear-r1.eclass +++ b/eclass/php-pear-r1.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/php-pear-r1.eclass,v 1.5 2005/09/13 16:07:50 sebastian Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/php-pear-r1.eclass,v 1.6 2005/10/31 14:08:42 chtekk Exp $ # # Author: Tal Peer <coredumb@gentoo.org> # @@ -38,13 +38,13 @@ PEAR_PN=${PHP_PEAR_PKG_NAME}-${PEAR_PV} S="${WORKDIR}/${PEAR_PN}" php-pear-r1_src_install() { - # SNMP is nuts sometimes + # SNMP support addpredict /usr/share/snmp/mibs/.index addpredict /var/lib/net-snmp/ - cd ${S} - mv ${WORKDIR}/package.xml ${S} - pear install --nodeps --installroot=${D} ${S}/package.xml || die "Unable to install PEAR package" - rm ${D}/usr/share/php/.filemap - rm ${D}/usr/share/php/.lock + cd "${S}" + mv "${WORKDIR}/package.xml" "${S}" + pear install --nodeps --installroot="${D}" "${S}/package.xml" || die "Unable to install PEAR package" + rm -rf "${D}/usr/share/php/.filemap" \ + "${D}/usr/share/php/.lock" } |