equal
deleted
inserted
replaced
1 # Copyright 1999-2010 Gentoo Foundation |
|
2 # Distributed under the terms of the GNU General Public License v2 |
|
3 # $Header: $ |
|
4 EAPI=3 |
|
5 inherit webapp depend.php |
|
6 |
|
7 |
|
8 DESCRIPTION="SimpleID is a simple, personal OpenID provider written in PHP." |
|
9 HOMEPAGE="http://simpleid.sourceforge.net" |
|
10 SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}.tar.gz" |
|
11 |
|
12 LICENSE="GPL-2" |
|
13 KEYWORDS="~amd64" |
|
14 IUSE="" |
|
15 |
|
16 DEPEND="" |
|
17 RDEPEND="${DEPEND} dev-lang/php[bcmath,session,xml,hash,gmp]" |
|
18 |
|
19 S="${WORKDIR}/${PN}" |
|
20 |
|
21 need_httpd |
|
22 need_php_httpd |
|
23 |
|
24 pkg_setup() { |
|
25 webapp_pkg_setup |
|
26 require_php_with_use bcmath session xml hash gmp |
|
27 } |
|
28 |
|
29 src_install() { |
|
30 webapp_src_preinst |
|
31 |
|
32 insinto "${MY_HTDOCSDIR}" |
|
33 doins -r www/* |
|
34 |
|
35 insinto "${MY_HOSTROOTDIR}" |
|
36 doins -r identities cache store |
|
37 |
|
38 webapp_configfile "${MY_HOSTROOTDIR}/identities" |
|
39 webapp_serverowned "${MY_HOSTROOTDIR}"/{cache,store} |
|
40 |
|
41 webapp_src_install |
|
42 } |
|