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.2 2005/09/08 10:49:51 sebastian Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/php-pear-r1.eclass,v 1.3 2005/09/08 17:01:02 beu Exp $ |
4 | # |
4 | # |
5 | # Author: Tal Peer <coredumb@gentoo.org> |
5 | # Author: Tal Peer <coredumb@gentoo.org> |
6 | # |
6 | # |
7 | # The php-pear eclass provides means for easy installation of PEAR |
7 | # The php-pear eclass provides means for easy installation of PEAR |
8 | # packages, see http://pear.php.net |
8 | # packages, see http://pear.php.net |
… | |
… | |
35 | |
35 | |
36 | [ -z "${SRC_URI}" ] && SRC_URI="http://pear.php.net/get/${PEAR_PN}.tgz" |
36 | [ -z "${SRC_URI}" ] && SRC_URI="http://pear.php.net/get/${PEAR_PN}.tgz" |
37 | [ -z "${HOMEPAGE}" ] && HOMEPAGE="http://pear.php.net/${PHP_PEAR_PKG_NAME}" |
37 | [ -z "${HOMEPAGE}" ] && HOMEPAGE="http://pear.php.net/${PHP_PEAR_PKG_NAME}" |
38 | S="${WORKDIR}/${PEAR_PN}" |
38 | S="${WORKDIR}/${PEAR_PN}" |
39 | |
39 | |
40 | php-pear_src_install-r1() { |
40 | php-pear-r1_src_install() { |
41 | # SNMP is nuts sometimes |
41 | # SNMP is nuts sometimes |
42 | addpredict /usr/share/snmp/mibs/.index |
42 | addpredict /usr/share/snmp/mibs/.index |
43 | addpredict /var/lib/net-snmp/ |
43 | addpredict /var/lib/net-snmp/ |
44 | |
44 | |
45 | cd ${S} |
45 | cd ${S} |