summaryrefslogtreecommitdiff
blob: 351275fb2edc76686af9b9895c5c4d18632b819a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-Benchmark/PEAR-Benchmark-1.2.7-r1.ebuild,v 1.8 2007/12/05 23:35:47 jokey Exp $

inherit php-pear-r1 depend.php eutils

DESCRIPTION="Framework to benchmark PHP scripts or function calls."
LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 hppa ia64 ~ppc ppc64 sparc x86"
IUSE=""

src_unpack() {
	unpack ${A}
	cd "${WORKDIR}"
	rm -f package.xml
	cp package2.xml package.xml
}

pkg_postinst() {
	has_php
	if ! built_with_use --missing true =${PHP_PKG} bcmath ; then
		elog "${PN} can optionally use ${PHP_PKG} bcmath features."
		elog "If you want those, recompile ${PHP_PKG} with these flags in USE."
	fi
}