| 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-pear-r1.eclass,v 1.25 2010/07/13 23:48:47 mabi Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/php-pear-r1.eclass,v 1.26 2010/07/13 23:50:34 mabi Exp $ |
| 4 | # |
4 | # |
| 5 | # Author: Tal Peer <coredumb@gentoo.org> |
5 | # Author: Tal Peer <coredumb@gentoo.org> |
| 6 | # Author: Luca Longinotti <chtekk@gentoo.org> |
6 | # Author: Luca Longinotti <chtekk@gentoo.org> |
| 7 | |
7 | |
| 8 | # @ECLASS: php-pear-r1.eclass |
8 | # @ECLASS: php-pear-r1.eclass |
| … | |
… | |
| 58 | # SNMP support |
58 | # SNMP support |
| 59 | addpredict /usr/share/snmp/mibs/.index |
59 | addpredict /usr/share/snmp/mibs/.index |
| 60 | addpredict /var/lib/net-snmp/ |
60 | addpredict /var/lib/net-snmp/ |
| 61 | addpredict /session_mm_cli0.sem |
61 | addpredict /session_mm_cli0.sem |
| 62 | |
62 | |
| 63 | PHP_BIN="/usr/$(get_libdir)/php5/bin/php" ;; |
63 | PHP_BIN="/usr/$(get_libdir)/php5/bin/php" |
| 64 | |
64 | |
| 65 | cd "${S}" |
65 | cd "${S}" |
| 66 | |
66 | |
| 67 | if [[ -f "${WORKDIR}"/package2.xml ]] ; then |
67 | if [[ -f "${WORKDIR}"/package2.xml ]] ; then |
| 68 | mv -f "${WORKDIR}/package2.xml" "${S}" |
68 | mv -f "${WORKDIR}/package2.xml" "${S}" |