mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
349 B

  1. modjk2_install() {
  2. # install the apache module
  3. cd ../build/jk2/apache2
  4. apxs -n jk2 -i mod_jk2.so
  5. # copy some example config files
  6. cd ../../../
  7. cp -v conf/{jk2.properties,workers2*} $docdir
  8. }
  9. hook_add preconf 1 "cd jk/native2"
  10. var_append confopt " " "--with-apxs2=/opt/apache/sbin/apxs"
  11. makeinstopt=""
  12. hook_add postmake 5 modjk2_install