summaryrefslogtreecommitdiff
blob: c53dc05c1f141dc681442fd1e5f3e0d01debef93 (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
27
28
29
30
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-Auth/PEAR-Auth-1.5.4.ebuild,v 1.4 2007/09/25 00:04:40 pylon Exp $

inherit php-pear-r1 depend.php eutils

DESCRIPTION="Provides methods for creating an authentication system using PHP."
LICENSE="PHP"
SLOT="0"
KEYWORDS="~amd64 hppa ppc ~ppc64 ~sparc x86"
IUSE="minimal"
RDEPEND="!minimal? ( >=dev-php/PEAR-Log-1.9.10
		    >=dev-php/PEAR-File_Passwd-1.1.0
		    >=dev-php/PEAR-Net_POP3-1.3.0
		    >=dev-php/PEAR-DB-1.7.6-r1
		    dev-php/PEAR-MDB
		    >=dev-php/PEAR-MDB2-2.0.0_rc1
		    >=dev-php/PEAR-Crypt_CHAP-1.0.0
		    >=dev-php/PEAR-File_SMBPasswd-1.0.0
		    >=dev-php/PEAR-SOAP-0.9.0 )"
		    # missing lots of keywords
		    # >=dev-php/PEAR-HTTP_Client-1.1.0

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