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.

67 lines
1.8 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../multisync/multisync.conf
  5. # Copyright (C) 2007 The OpenSDE Project
  6. # Copyright (C) 2004 - 2006 The T2 SDE Project
  7. # Copyright (C) 1998 - 2004 Clifford Wolf
  8. #
  9. # More information can be found in the files COPYING and README.
  10. #
  11. # This program is free software; you can redistribute it and/or modify
  12. # it under the terms of the GNU General Public License as published by
  13. # the Free Software Foundation; version 2 of the License. A copy of the
  14. # GNU General Public License can be found in the file COPYING.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. build_multisync_plugin() {
  17. local plugin=$1; shift
  18. echo "Building multisync plugin $plugin..."
  19. cd plugins/$plugin
  20. # CVS version ...
  21. sed -i '/TOP.*spec$/d' configure.in
  22. automake
  23. eval_config_command $( eval echo $confopt $* )
  24. eval $MAKE $makeopt
  25. eval $MAKE $makeinstopt
  26. cd ../..
  27. }
  28. multisync_pm() {
  29. local each
  30. build_multisync_plugin backup_plugin
  31. # multisync is not ready for evo-2.0 yet
  32. # if pkginstalled evolution; then
  33. # pkgprefix -t evolution
  34. # build_multisync_plugin evolution_sync \
  35. # --with-evo-libs=$( pkgprefix libdir evolution )
  36. # fi
  37. build_multisync_plugin palm_sync
  38. build_multisync_plugin opie_sync
  39. build_multisync_plugin syncml_plugin
  40. if pkginstalled openldap && pkginstalled cyrus-sasl2; then
  41. pkgprefix -t openldap
  42. build_multisync_plugin ldap_plugin \
  43. CFLAGS="-I$( pkgprefix includedir openldap )" \
  44. LDFLAGS="-L$( pkgprefix libdir openldap )"
  45. fi
  46. # FIXME the configure scripts needs a fix to add
  47. # the -L.* for gnome24/glib-2.0 when trying to detect openobex
  48. # if pkginstalled openobex; then
  49. # build_multisync_plugin irmc_sync
  50. # fi
  51. }
  52. var_append GCC_WRAPPER_REMOVE " " "-Werror"
  53. hook_add postmake 3 multisync_pm