summaryrefslogtreecommitdiff
blob: 7b843eaedb4f799a07285c7b80c7b233a2e9967f (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
31
# Copyright 1999-2010 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.6.2-r1.ebuild,v 1.3 2010/10/11 20:14:33 olemarkus Exp $

EAPI="2"
inherit php-pear-r1 depend.php eutils

DESCRIPTION="Provides methods for creating an authentication system using PHP."
LICENSE="PHP-3.01"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~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-SOAP-0.9.0
	>=dev-php/PEAR-File_SMBPasswd-1.0.0 )"
	# missing lots of keywords
	# >=dev-php/PEAR-HTTP_Client-1.1.0

pkg_postinst() {
	has_php
	if ! use minimal && ! has_version "=${PHP_PKG}[imap,soap]" ; then
		elog "${PN} can optionally use php's imap and soap features."
		elog "If you want those, recompile ${PHP_PKG} with these flags in USE."
	fi
}