1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit apache-module autotools
8 MY_P="${PN/h2/http2}-${PV}"
10 if [[ ${PV} == 9999 ]] ; then
11 EGIT_REPO_URI="https://github.com/icing/mod_h2.git"
14 S="${WORKDIR}/${MY_P}"
15 SRC_URI="https://github.com/icing/mod_h2/releases/download/v${PV}/${MY_P}.tar.gz"
16 KEYWORDS="~amd64 ~x86"
19 DESCRIPTION="HTTP/2 module for Apache"
20 HOMEPAGE="https://github.com/icing/mod_h2"
26 RDEPEND=">=net-libs/nghttp2-1.0
27 >=www-servers/apache-2.4.20[-apache2_modules_http2,ssl?]"
44 APACHE2_MOD_DEFINE="HTTP2"
45 insinto "${APACHE_MODULES_CONFDIR}"
46 newins "${FILESDIR}/mod_http2.conf" "41_mod_http2.conf"