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..."
24 sed -i '/TOP.*spec$/d' configure.in
27 eval_config_command $( eval echo $confopt $* )
29 eval $MAKE $makeinstopt
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 )
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
52 build_multisync_plugin ldap_plugin \
53 CFLAGS="-I$( pkgprefix includedir openldap )" \
54 LDFLAGS="-L$( pkgprefix libdir openldap )"
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
64 var_append GCC_WRAPPER_REMOVE " " "-Werror"
66 hook_add postmake 3 multisync_pm