blob: 00938704b1f4f5e17deece14e338ae46f1cf870c (
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/php-openid/php-openid-2.1.3.ebuild,v 1.1 2010/01/01 21:38:07 yngwin Exp $
EAPI="2"
inherit php-lib-r1
PHP_LIB_NAME="Auth"
DESCRIPTION="PHP OpenID implementation"
HOMEPAGE="http://openidenabled.com/php-openid/"
SRC_URI="http://openidenabled.com/files/php-openid/packages/${P}.tar.bz2"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples"
DEPEND=""
RDEPEND="|| ( virtual/php[bcmath] virtual/php[gmp] )
virtual/php[curl]"
src_install() {
cd "${S}"/Auth
php-lib-r1_src_install . * */*
if use examples; then
cd "${S}"
insinto /usr/share/doc/${PF}/examples
doins -r examples/*
fi
}
|