www-apps/simpleid/simpleid-0.8.4.ebuild
author Da Risk <da_risk@geekorum.com>
Tue, 25 Jul 2017 11:35:22 -0700
changeset 219 c0c5810e06b8
parent 89 6a7db0edbef9
permissions -rw-r--r--
Remove a bunch of packages now in the gentoo tree List is dev-java/icedtea dev-python/django-pipeline dev-python/jsmin dev-python/pafy dev-python/repoze-who dev-tex/tex4ht gnome-base/gvfs media-gfx/aaphoto
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
89
6a7db0edbef9 SimpleId: version bump to 0.8.4
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     1
# Copyright 1999-2013 Gentoo Foundation
6a7db0edbef9 SimpleId: version bump to 0.8.4
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     2
# Distributed under the terms of the GNU General Public License v2
6a7db0edbef9 SimpleId: version bump to 0.8.4
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     3
# $Header: $
6a7db0edbef9 SimpleId: version bump to 0.8.4
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     4
EAPI=5
6a7db0edbef9 SimpleId: version bump to 0.8.4
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     5
inherit webapp depend.php
6a7db0edbef9 SimpleId: version bump to 0.8.4
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     6
6a7db0edbef9 SimpleId: version bump to 0.8.4
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     7
DESCRIPTION="SimpleID is a simple, personal OpenID provider written in PHP."
6a7db0edbef9 SimpleId: version bump to 0.8.4
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     8
HOMEPAGE="http://simpleid.sourceforge.net"
6a7db0edbef9 SimpleId: version bump to 0.8.4
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     9
SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}.tar.gz"
6a7db0edbef9 SimpleId: version bump to 0.8.4
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    10
6a7db0edbef9 SimpleId: version bump to 0.8.4
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    11
LICENSE="GPL-2"
6a7db0edbef9 SimpleId: version bump to 0.8.4
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    12
KEYWORDS="~amd64"
6a7db0edbef9 SimpleId: version bump to 0.8.4
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    13
IUSE=""
6a7db0edbef9 SimpleId: version bump to 0.8.4
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    14
6a7db0edbef9 SimpleId: version bump to 0.8.4
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    15
DEPEND=""
6a7db0edbef9 SimpleId: version bump to 0.8.4
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    16
RDEPEND="${DEPEND} dev-lang/php[bcmath,session,xml,hash,gmp]"
6a7db0edbef9 SimpleId: version bump to 0.8.4
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    17
6a7db0edbef9 SimpleId: version bump to 0.8.4
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    18
S="${WORKDIR}/${PN}"
6a7db0edbef9 SimpleId: version bump to 0.8.4
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    19
6a7db0edbef9 SimpleId: version bump to 0.8.4
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    20
need_httpd
6a7db0edbef9 SimpleId: version bump to 0.8.4
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    21
need_php_httpd
6a7db0edbef9 SimpleId: version bump to 0.8.4
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    22
6a7db0edbef9 SimpleId: version bump to 0.8.4
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    23
pkg_setup() {
6a7db0edbef9 SimpleId: version bump to 0.8.4
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    24
	webapp_pkg_setup
6a7db0edbef9 SimpleId: version bump to 0.8.4
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    25
	require_php_with_use bcmath session xml hash gmp
6a7db0edbef9 SimpleId: version bump to 0.8.4
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    26
}
6a7db0edbef9 SimpleId: version bump to 0.8.4
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    27
6a7db0edbef9 SimpleId: version bump to 0.8.4
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    28
src_install() {
6a7db0edbef9 SimpleId: version bump to 0.8.4
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    29
	webapp_src_preinst
6a7db0edbef9 SimpleId: version bump to 0.8.4
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    30
6a7db0edbef9 SimpleId: version bump to 0.8.4
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    31
	insinto "${MY_HTDOCSDIR}"
6a7db0edbef9 SimpleId: version bump to 0.8.4
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    32
	doins -r www/*
6a7db0edbef9 SimpleId: version bump to 0.8.4
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    33
6a7db0edbef9 SimpleId: version bump to 0.8.4
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    34
	insinto "${MY_HOSTROOTDIR}"
6a7db0edbef9 SimpleId: version bump to 0.8.4
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    35
	doins -r identities cache store
6a7db0edbef9 SimpleId: version bump to 0.8.4
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    36
6a7db0edbef9 SimpleId: version bump to 0.8.4
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    37
	webapp_configfile "${MY_HOSTROOTDIR}/identities"
6a7db0edbef9 SimpleId: version bump to 0.8.4
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    38
	webapp_serverowned "${MY_HOSTROOTDIR}"/{cache,store}
6a7db0edbef9 SimpleId: version bump to 0.8.4
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    39
6a7db0edbef9 SimpleId: version bump to 0.8.4
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    40
	webapp_src_install
6a7db0edbef9 SimpleId: version bump to 0.8.4
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    41
}