summaryrefslogtreecommitdiff
blob: 90d5f17b9898e8b6b462889e0a4071d313ebc1bc (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
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-Log/PEAR-Log-1.12.7-r1.ebuild,v 1.3 2012/08/04 11:41:56 jer Exp $

EAPI="4"
inherit php-pear-r1

KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"

DESCRIPTION="The Log framework provides an abstracted logging system.@"
LICENSE="PHP-3.01"
SLOT="0"
IUSE="minimal"

RDEPEND="!minimal? ( >=dev-php/PEAR-DB-1.7.6-r1
	dev-php/PEAR-Mail
	>=dev-php/PEAR-MDB2-2.0.0_rc1 )"

pkg_postinst() {
	if ! use minimal && ! has_version dev-lang/php[sqlite] ; then
		elog "${PN} can optionally use dev-lang/php's sqlite features."
		elog "If you want those, recompile dev-lang/php with this flag in USE."
	fi
}