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.

47 lines
1.5 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 - 2009 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. # Prelude-IDS support
  19. if pkginstalled libprelude ; then
  20. pkgprefix -t libprelude
  21. var_append confopt " " "--enable-prelude"
  22. var_append CXXFLAGS ' ' "-I$root$( pkgprefix includedir libprelude )"
  23. export CXXFLAGS
  24. fi
  25. # libssh support
  26. if pkginstalled libssh ; then
  27. pkgprefix -t libssh
  28. var_append confopt ' ' "--with-ssh-include=$root$( pkgprefix includedir libssh )/libssh"
  29. fi
  30. # mysql support
  31. if pkginstalled mysql ; then
  32. pkgprefix -t mysql
  33. var_append confopt " " "--enable-mysql"
  34. var_append confopt ' ' "--with-mysql-include=$root$( pkgprefix includedir mysql )/mysql"
  35. fi
  36. # postgresql support
  37. if pkginstalled postgresql ; then
  38. pkgprefix -t postgresql
  39. var_append confopt " " "--enable-postgre"
  40. var_append confopt ' ' "--with-postgre-include=$root$( pkgprefix includedir postgresql )"
  41. var_append confopt ' ' "--with-postgre-lib=$root$( pkgprefix libdir postgresql )"
  42. fi