diff options
Diffstat (limited to 'www-apache/mod_auth_mellon/mod_auth_mellon-0.16.0.ebuild')
-rw-r--r-- | www-apache/mod_auth_mellon/mod_auth_mellon-0.16.0.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/www-apache/mod_auth_mellon/mod_auth_mellon-0.16.0.ebuild b/www-apache/mod_auth_mellon/mod_auth_mellon-0.16.0.ebuild new file mode 100644 index 00000000..e0cb6344 --- /dev/null +++ b/www-apache/mod_auth_mellon/mod_auth_mellon-0.16.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools apache-module + +MY_PV=${PV//./_} + +SRC_URI="https://github.com/latchset/mod_auth_mellon/archive/v${MY_PV}.tar.gz" +KEYWORDS="~amd64" +S="${WORKDIR}/${PN}-${MY_PV}" + +DESCRIPTION="An Apache module with a simple SAML 2.0 service provider" +HOMEPAGE="https://github.com/latchset/mod_auth_mellon" + +LICENSE="GPL-2+" +SLOT="0" +IUSE="diagnostics" +need_apache2_4 + +CDEPEND="net-misc/curl dev-libs/openssl:0= " +DEPEND+=" virtual/pkgconfig" + +DOCFILES="ECP.rst NEWS README.md" + +APACHE2_MOD_CONF="10_${PN}" +APACHE2_MOD_DEFINE="AUTH_MELLON" + + +pkg_setup() { + _init_apache2 + _init_apache2_late +} + +src_prepare() { + eapply_user + + eautoreconf + + econf $(use_enable diagnostics) +} + +src_compile() { + # Use -j1 to ensure that the apxs step is run first + emake -j1 +} + +src_install() { + apache-module_src_install + + newbin mellon_create_metadata.sh mellon_create_metadata +} |