OpenSDE Packages Database (without history before r20070)
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.

50 lines
1.6 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../nepenthes/nepenthes.conf
  5. # Copyright (C) 2006 - 2007 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This program is free software; you can redistribute it and/or modify
  10. # it under the terms of the GNU General Public License as published by
  11. # the Free Software Foundation; version 2 of the License. A copy of the
  12. # GNU General Public License can be found in the file COPYING.
  13. # --- SDE-COPYRIGHT-NOTE-END ---
  14. if [ $prefix_auto = 1 ] ; then
  15. prefix="opt/nepenthes"
  16. set_confopt
  17. fi
  18. # we patch configure.ac
  19. hook_add preconf 5 "aclocal ; autoconf ; automake --add-missing"
  20. # Prelude-IDS support
  21. if pkginstalled libprelude ; then
  22. pkgprefix -t libprelude
  23. var_append confopt " " "--enable-prelude"
  24. var_append CXXFLAGS ' ' "-I$root$( pkgprefix includedir libprelude )"
  25. export CXXFLAGS
  26. fi
  27. # libssh support
  28. if pkginstalled libssh ; then
  29. pkgprefix -t libssh
  30. var_append confopt ' ' "--with-ssh-include=$root$( pkgprefix includedir libssh )/libssh"
  31. fi
  32. # mysql support
  33. if pkginstalled mysql ; then
  34. pkgprefix -t mysql
  35. var_append confopt " " "--enable-mysql"
  36. var_append confopt ' ' "--with-mysql-include=$root$( pkgprefix includedir mysql )/mysql"
  37. fi
  38. # postgresql support
  39. if pkginstalled postgresql ; then
  40. pkgprefix -t postgresql
  41. var_append confopt " " "--enable-postgre"
  42. var_append confopt ' ' "--with-postgre-include=$root$( pkgprefix includedir postgresql )"
  43. var_append confopt ' ' "--with-postgre-lib=$root$( pkgprefix libdir postgresql )"
  44. fi