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