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.

44 lines
1.3 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../kannel/kannel.conf
  5. # Copyright (C) 2006 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. # setting the default prefix
  15. prefix="opt/kannel"
  16. set_confopt
  17. # OpenSSL support
  18. if pkginstalled openssl; then
  19. pkgprefix -t openssl
  20. var_append confopt " " "--enable-ssl"
  21. var_append confopt " " "--with-ssl=$root/$( pkgprefix openssl )"
  22. fi
  23. # sqlite support
  24. pkginstalled sqlite && var_append confopt " " "--with-sqlite3"
  25. # mysql support
  26. if pkginstalled mysql; then
  27. pkgprefix -t mysql
  28. var_append confopt " " "--with-mysql"
  29. var_append confopt " " "--with-mysql-dir=$root/$( pkgprefix mysql )"
  30. var_append CFLAGS " " "-I$root$( pkgprefix includedir mysql )"
  31. export CFLAGS
  32. fi
  33. # postgresql support
  34. if pkginstalled postgresql; then
  35. pkgprefix -t postgresql
  36. var_append confopt " " "--with-pgsql"
  37. var_append confopt " " "--with-pgsql-dir=$root/$( pkgprefix postgresql )"
  38. fi