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/
19 _tag=4dcb5e1f0a9cf2094f84fe1872272cff70fadb9b
21 git+https://github.com/apache/tomcat-native.git#tag=${_tag}
22 tomcat-native-buildconf.patch
26 d3603079626b908644331c193452088ef3ce89e92c775c60b232d16d04b8c49d40106d55c76f81c87daea93d335868140df0046c7102796d92b08431ac8749a4
36 cd tomcat-native/native
38 patch -Np2 -i ../../tomcat-native-buildconf.patch
39 automake --add-missing --copy --force-missing || true
41 --with-apr=/usr/share/apr-1
45 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