1 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
2 # Contributor: Guillaume Alaux <guillaume@archlinux.org>
3 # Contributor: Vitaliy Berdinskikh <ur6lad@i.ua>
8 pkgdesc='Optional component for Tomcat to use certain native resources for performance, compatibility'
10 url=https://tomcat.apache.org/native-doc/
22 _tag=2b617703217b2f94fc51afc0ad30e325f69853a2
24 git+https://github.com/apache/tomcat-native.git#tag=${_tag}
25 tomcat-native-buildconf.patch
29 d3603079626b908644331c193452088ef3ce89e92c775c60b232d16d04b8c49d40106d55c76f81c87daea93d335868140df0046c7102796d92b08431ac8749a4
38 cd tomcat-native/native
39 patch -Np2 -i ../../tomcat-native-buildconf.patch
40 automake --add-missing --copy --force-missing || true
42 --with-apr=/usr/share/apr-1
46 cd tomcat-native/native
49 --with-apr=/usr/bin/apr-1-config \
50 --with-java-home=/usr/lib/jvm/default \
56 make DESTDIR="${pkgdir}" -C tomcat-native/native install