33 lines
901 B
Bash
33 lines
901 B
Bash
# Copyright 1999-2013 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_proxy_html/mod_proxy_html-3.1.2.ebuild,v 1.3 2013/01/02 13:23:58 ago Exp $
|
|
|
|
inherit apache-module
|
|
|
|
DESCRIPTION="An Apache2 module to rewrite links in html pages behind a reverse proxy."
|
|
HOMEPAGE="http://apache.webthing.com/mod_proxy_html/"
|
|
SRC_URI="http://apache.webthing.com/mod_proxy_html/${P}.tar.bz2"
|
|
# Source is not currently available on the gentoo mirrors
|
|
RESTRICT="mirror"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 x86"
|
|
IUSE=""
|
|
|
|
DEPEND="app-arch/bzip2
|
|
dev-libs/libxml2
|
|
>=www-apache/mod_xml2enc-1.0.3"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
APACHE2_MOD_CONF="27_${PN}"
|
|
APACHE2_MOD_DEFINE="PROXY_HTML"
|
|
|
|
need_apache2
|
|
|
|
S="${WORKDIR}"/${PN}
|
|
|
|
src_compile() {
|
|
APXS2_ARGS="$(xml2-config --cflags) -I"${WORKDIR}/${PN}" -c ${PN}.c"
|
|
apache-module_src_compile
|
|
}
|