updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / mod_jk / PKGBUILD
blob13b107cd750acb8915d3fb9f9512fea79ecaa9f8
1 # Contributor: Vitaliy Berdinskikh ur6lad[at]archlinux.org.ua
3 pkgname=mod_jk
4 pkgver=1.2.32
5 pkgrel=1
6 pkgdesc="The Apache Tomcat Connector"
7 arch=('i686' 'x86_64')
8 url="http://tomcat.apache.org/connectors-doc/"
9 license=('Apache')
10 depends=('java-environment' 'apache')
11 source=(http://www.eu.apache.org/dist//tomcat/tomcat-connectors/jk/tomcat-connectors-${pkgver}-src.tar.gz)
13 build() {
14         mkdir -p $pkgdir/usr/lib/httpd/modules
15         cd $srcdir/tomcat-connectors-${pkgver}-src/native/
17         ./configure \
18                 --prefix=/usr \
19                 --with-apxs=/usr/sbin/apxs \
20                 --sysconfdir=/etc \
21                 --enable-jni
22         make
25 package() {
26         cd $srcdir/tomcat-connectors-${pkgver}-src/native/
28         install -m755 apache-2.0/mod_jk.so $pkgdir/usr/lib/httpd/modules
29         install -m755 jni/jk_jnicb.so $pkgdir/usr/lib/httpd/modules
32 md5sums=('8d2a844fe70c849e35ae6b7a3cf4fdfd')
33 sha256sums=('512a5d4ae06fd6d6aa7ba6f177b7c9ba1c8297c676b3c33686c1ffacb83035b6')