diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-06-29 11:38:31 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-06-29 11:38:31 +0100 |
commit | 90c88731bd036e5698b281fbc0a5f3aa4c9983ac (patch) | |
tree | 83fc5facb6b12be510a37bc3d241cc63e965b13a /www-apache/mod_qos/mod_qos-11.65.ebuild | |
parent | feb0daf81d888e9160f9f94502de09b66f2a63fd (diff) |
gentoo resync : 29.06.2020
Diffstat (limited to 'www-apache/mod_qos/mod_qos-11.65.ebuild')
-rw-r--r-- | www-apache/mod_qos/mod_qos-11.65.ebuild | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/www-apache/mod_qos/mod_qos-11.65.ebuild b/www-apache/mod_qos/mod_qos-11.65.ebuild new file mode 100644 index 000000000000..765632d044a6 --- /dev/null +++ b/www-apache/mod_qos/mod_qos-11.65.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools apache-module + +DESCRIPTION="A QOS module for the apache webserver" +HOMEPAGE="http://mod-qos.sourceforge.net/" +SRC_URI="mirror://sourceforge/mod-qos/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + dev-libs/libpcre:3 + dev-libs/openssl:0= + media-libs/libpng:0= + sys-libs/zlib:0= +" +DEPEND="${DEPEND}" + +APXS2_S="${S}/apache2" +APACHE2_MOD_CONF="10_${PN}" +APACHE2_MOD_DEFINE="QOS" +DOCFILES="${S}/doc/*.txt ${S}/README.TXT" + +need_apache2 + +src_prepare() { + default + + pushd "${S}"/tools &>/dev/null || die + eautoreconf + popd &>/dev/null || die +} + +src_configure() { + pushd "${S}"/tools &>/dev/null || die + econf + popd &>/dev/null || die +} + +src_compile() { + apache-module_src_compile + emake -C "${S}"/tools +} + +src_install() { + einfo "Installing Apache module ..." + pushd "${S}"/tools &>/dev/null || die + apache-module_src_install + popd &>/dev/null || die + + einfo "Installing module utilities ..." + emake -C "${S}"/tools install DESTDIR="${D}" + + # installing html documentation + dohtml -r -x *.txt "${S}"/doc/ +} |