[colordiff] Added colordiff 1.0.7 - A wrapper that adds colour highlighting to diff...
[opensde-package-nopast.git] / office / multisync / multisync.conf
blobced78e496ab2f6c3b8e5ba8ba8bd85f538fd456d
1 # --- SDE-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
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
9 # More information can be found in the files COPYING and README.
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 ---
17 build_multisync_plugin() {
18         local plugin=$1; shift
20         echo "Building multisync plugin $plugin..."
21         cd plugins/$plugin
23         # CVS version ...
24         sed -i '/TOP.*spec$/d' configure.in
25         automake
27         eval_config_command $( eval echo $confopt $* )
28         eval $MAKE $makeopt
29         eval $MAKE $makeinstopt
31         cd ../..
34 multisync_pm() {
35         local each
37         build_multisync_plugin backup_plugin
39 # multisync is not ready for evo-2.0 yet
40 #       if pkginstalled evolution; then
41 #               pkgprefix -t evolution
42 #               build_multisync_plugin evolution_sync \
43 #                       --with-evo-libs=$( pkgprefix libdir evolution )
44 #       fi
46         build_multisync_plugin palm_sync
47         build_multisync_plugin opie_sync
48         build_multisync_plugin syncml_plugin
50         if pkginstalled openldap && pkginstalled cyrus-sasl2; then
51                 pkgprefix -t openldap
52                 build_multisync_plugin ldap_plugin \
53                         CFLAGS="-I$( pkgprefix includedir openldap )" \
54                         LDFLAGS="-L$( pkgprefix libdir openldap )"
55         fi
57 # FIXME the configure scripts needs a fix to add
58 #   the -L.* for gnome24/glib-2.0 when trying to detect openobex
59 #       if pkginstalled openobex; then
60 #               build_multisync_plugin irmc_sync
61 #       fi
64 var_append GCC_WRAPPER_REMOVE " " "-Werror"
66 hook_add postmake 3 multisync_pm