| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/dev-php/pear/pear-1.9.4.ebuild,v 1.7 2012/08/21 12:23:40 johu Exp $
|
| 4 |
|
| 5 |
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86"
|
| 6 |
|
| 7 |
DESCRIPTION="PEAR - PHP Extension and Application Repository"
|
| 8 |
HOMEPAGE="http://pear.php.net/"
|
| 9 |
SRC_URI=""
|
| 10 |
LICENSE="MIT"
|
| 11 |
SLOT="0"
|
| 12 |
IUSE=""
|
| 13 |
|
| 14 |
DEPEND="!<dev-php/PEAR-PEAR-1.8.1
|
| 15 |
~dev-php/PEAR-PEAR-${PV}
|
| 16 |
>=dev-php/PEAR-Archive_Tar-1.3.7
|
| 17 |
>=dev-php/PEAR-Console_Getopt-1.2.3
|
| 18 |
>=dev-php/PEAR-Structures_Graph-1.0.2
|
| 19 |
>=dev-php/PEAR-XML_Util-1.2.1"
|
| 20 |
RDEPEND="${DEPEND}"
|
| 21 |
|
| 22 |
src_install() {
|
| 23 |
:;
|
| 24 |
}
|
| 25 |
|
| 26 |
pkg_postinst() {
|
| 27 |
pear clear-cache
|
| 28 |
|
| 29 |
# Update PEAR/PECL channels as needed, add new ones to the list if needed
|
| 30 |
elog "Updating PEAR/PECL channels"
|
| 31 |
local pearchans="pear.php.net pecl.php.net components.ez.no
|
| 32 |
pear.propelorm.org pear.phing.info pear.symfony-project.com pear.phpunit.de
|
| 33 |
pear.php-baustelle.de pear.phpontrax.com pear.agavi.org"
|
| 34 |
|
| 35 |
for chan in ${pearchans} ; do
|
| 36 |
pear channel-discover ${chan}
|
| 37 |
pear channel-update ${chan}
|
| 38 |
done
|
| 39 |
}
|