From 5d3fa60a127b4e2e7b023a886e3ac248846a36df Mon Sep 17 00:00:00 2001 From: tastytea Date: Fri, 22 Jun 2018 10:59:02 +0200 Subject: [PATCH] added simpleid-9999 --- www-apps/simpleid/metadata.xml | 16 +++++++++++ www-apps/simpleid/simpleid-9999.ebuild | 38 ++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 www-apps/simpleid/metadata.xml create mode 100644 www-apps/simpleid/simpleid-9999.ebuild diff --git a/www-apps/simpleid/metadata.xml b/www-apps/simpleid/metadata.xml new file mode 100644 index 000000000..2891eadb9 --- /dev/null +++ b/www-apps/simpleid/metadata.xml @@ -0,0 +1,16 @@ + + + + + gentoo@tastytea.de + tastytea + + + + Kelvin Mo + kmo@users.sourceforge.net + + https://simpleid.koinic.net/docs/2/ + https://github.com/simpleid/simpleid/issues + + diff --git a/www-apps/simpleid/simpleid-9999.ebuild b/www-apps/simpleid/simpleid-9999.ebuild new file mode 100644 index 000000000..957ba8b1e --- /dev/null +++ b/www-apps/simpleid/simpleid-9999.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit git-r3 + +KEYWORDS="" + +DESCRIPTION="A simple, personal OpenID provider written in PHP" +HOMEPAGE="http://simpleid.koinic.net/" +EGIT_REPO_URI="https://github.com/simpleid/simpleid.git" + +LICENSE="GPL-2" +SLOT="2" +IUSE="" + +RDEPEND=">=dev-lang/php-7.1.18:* + >=dev-php/spyc-0.6.1 + >=dev-php/symfony-console-2.7.9-r1" +DEPEND="${RDEPEND} + >=dev-php/phing-2.16.1" + +src_unpack() { + git-r3_src_unpack +} + +src_install() { + mv www/config.php{.dist,} + insinto /usr/share/webapps/simpleid + doins -r www + + dodoc README.md identities/example* +} + +pkg_postinst() { + elog "Read https://simpleid.koinic.net/docs/2/installing/#directories carefully" + elog "to learn how to proceed with the installation." +}