1 # Contributor: Jeffrey Gelens <jgelens@gmail.com>
5 pkgdesc="rpaf is for backend Apache servers what mod_proxy_add_forward is for frontend Apache servers"
7 url="http://stderr.net/apache/rpaf/"
9 depends=('apache>=2.0.36')
10 makedepends=('apache>=2.0.36')
12 install=$pkgname.install
13 source=(http://stderr.net/apache/rpaf/download/$pkgname-$pkgver.tar.gz)
14 md5sums=('ba2b89274e1dd4c0f96f8d034fa305b1')
17 cd "$srcdir/$pkgname-$pkgver"
18 sed -i'' -e 's/which apxs2/which apxs/g' Makefile
19 apxs -c -n mod_rpaf-2.0.so mod_rpaf-2.0.c || return 1
20 mkdir -p $pkgdir/usr/lib/httpd/modules
21 apxs -S LIBEXECDIR=$pkgdir/usr/lib/httpd/modules -i -n mod_rpaf-2.0.so mod_rpaf-2.0.la