1 # Contributor: Patrick Schneider <Patrick.Schneider@uni-ulm.de>
5 pkgdesc="An output filter to rewrite HTML links in a proxy situation for Apache 2"
7 url="http://apache.webthing.com/mod_proxy_html/"
9 makedepends=('pkgconfig')
10 depends=('apache>=2.2' 'libxml2')
11 install=$pkgname.install
12 backup=(etc/httpd/conf/extra/httpd-proxy-html.conf)
13 source=(http://apache.webthing.com/mod_proxy_html/$pkgname.tar.bz2 $pkgname.diff)
14 md5sums=('d6497b48d2bffc4150472472004618c3'
15 'e346fcbcd623dad3e9d452ce8c396d32')
20 patch -Np0 < ../mod_proxy_html.diff
21 apxs `pkg-config --cflags libxml-2.0` -c mod_proxy_html.c || return 1
22 mkdir -p "$pkgdir`apxs -q LIBEXECDIR`"
23 apxs -S LIBEXECDIR="$pkgdir`apxs -q LIBEXECDIR`" -i mod_proxy_html.la || return 1
24 install -D -m 644 proxy_html.conf "$pkgdir/etc/httpd/conf/extra/httpd-proxy-html.conf"
27 # vim:set ts=2 sw=2 et: