blob: 8e191c2fa32ee8b7dda4045d5252a47a5b2a1d1a (
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
32
33
34
35
36
37
38
39
40
41
42
|
# 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.2.2.ebuild,v 1.1 2010/08/02 17:12:50 mabi Exp $
EAPI="2"
MY_P="openid-php-openid-2.2.2-0-ga287b2d"
MY_P2="openid-php-openid-782224d"
inherit php-lib-r1
PHP_LIB_NAME="Auth"
DESCRIPTION="PHP OpenID implementation"
HOMEPAGE="http://github.com/openid/php-openid"
SRC_URI="http://download.github.com/${MY_P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples"
DEPEND=""
RDEPEND="|| ( dev-lang/php[gmp] dev-lang/php[bcmath] )
dev-lang/php[curl,xml,ssl]
net-misc/curl[ssl]"
S="${WORKDIR}/${MY_P2}"
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
}
pkg_postinst() {
elog "This ebuild can optionally make use of:"
elog " dev-php/PEAR-DB"
}
|