diff options
Diffstat (limited to 'www-apache/mod_auth_mellon/mod_auth_mellon-0.18.1.ebuild')
-rw-r--r-- | www-apache/mod_auth_mellon/mod_auth_mellon-0.18.1.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/www-apache/mod_auth_mellon/mod_auth_mellon-0.18.1.ebuild b/www-apache/mod_auth_mellon/mod_auth_mellon-0.18.1.ebuild new file mode 100644 index 00000000..3ad9cedf --- /dev/null +++ b/www-apache/mod_auth_mellon/mod_auth_mellon-0.18.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit autotools apache-module + +KEYWORDS="~amd64" + +DESCRIPTION="An Apache module with a simple SAML 2.0 service provider" +HOMEPAGE="https://github.com/latchset/mod_auth_mellon" +SRC_URI="https://github.com/latchset/mod_auth_mellon/archive/v${PV}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +IUSE="diagnostics" +need_apache2_4 + +CDEPEND=">=dev-libs/lasso-2.1 net-misc/curl dev-libs/openssl:0= " +DEPEND+=" virtual/pkgconfig ${CDEPEND}" +RDEPEND=${CDEPEND} + +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 +} |