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