PKGBUILD:
pkgname=jk2
pkgver=2.0.2
pkgrel=1
pkgdesc="Jakarta Tomcat webserver Connectors JK2"
url="http://jakarta.apache.org/tomcat/index.html"
depends=('tomcat' 'apache')
conflicts=()
backup=()
install=
source=(
http://apache.sunsite.ualberta.ca/jakarta/tomcat-connectors/jk2/jakarta-tomcat-connectors-jk2-src-current.tar.gz)
md5sums=('c75bd11d96324356b0ffaed2b5bf7fc4')
build() {
cd $startdir/src/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2
./configure --with-apxs2=/usr/sbin/apxs --with-tomcat41=/opt/tomcat --with-apache='/home/httpd'
sed -ie 's|APACHE2_HOME=/usr|APACHE2_HOME=/home/httpd|g' server/apache2/Makefile
make
cd ../build/jk2/apache2/
mkdir -p $startdir/pkg/usr/lib/apache
cp jkjni.so mod_jk2.so $startdir/pkg/usr/lib/apache
}
I'm specifically using it for a Tomcat/Apache Howto.
Dusty
]]>