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.
68 lines
1.8 KiB
68 lines
1.8 KiB
17 years ago
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
||
18 years ago
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||
17 years ago
|
#
|
||
17 years ago
|
# Filename: package/.../multisync/multisync.conf
|
||
16 years ago
|
# Copyright (C) 2007 - 2008 The OpenSDE Project
|
||
18 years ago
|
# Copyright (C) 2004 - 2006 The T2 SDE Project
|
||
|
# Copyright (C) 1998 - 2004 Clifford Wolf
|
||
17 years ago
|
#
|
||
18 years ago
|
# More information can be found in the files COPYING and README.
|
||
17 years ago
|
#
|
||
18 years ago
|
# This program is free software; you can redistribute it and/or modify
|
||
|
# it under the terms of the GNU General Public License as published by
|
||
|
# the Free Software Foundation; version 2 of the License. A copy of the
|
||
|
# GNU General Public License can be found in the file COPYING.
|
||
17 years ago
|
# --- SDE-COPYRIGHT-NOTE-END ---
|
||
18 years ago
|
|
||
|
build_multisync_plugin() {
|
||
|
local plugin=$1; shift
|
||
|
|
||
|
echo "Building multisync plugin $plugin..."
|
||
|
cd plugins/$plugin
|
||
|
|
||
|
# CVS version ...
|
||
|
sed -i '/TOP.*spec$/d' configure.in
|
||
|
automake
|
||
|
|
||
|
eval_config_command $( eval echo $confopt $* )
|
||
|
eval $MAKE $makeopt
|
||
|
eval $MAKE $makeinstopt
|
||
|
|
||
|
cd ../..
|
||
|
}
|
||
|
|
||
|
multisync_pm() {
|
||
|
local each
|
||
|
|
||
|
build_multisync_plugin backup_plugin
|
||
|
|
||
|
# multisync is not ready for evo-2.0 yet
|
||
|
# if pkginstalled evolution; then
|
||
|
# pkgprefix -t evolution
|
||
|
# build_multisync_plugin evolution_sync \
|
||
|
# --with-evo-libs=$( pkgprefix libdir evolution )
|
||
|
# fi
|
||
|
|
||
|
build_multisync_plugin palm_sync
|
||
|
build_multisync_plugin opie_sync
|
||
|
build_multisync_plugin syncml_plugin
|
||
|
|
||
|
if pkginstalled openldap && pkginstalled cyrus-sasl2; then
|
||
|
pkgprefix -t openldap
|
||
|
build_multisync_plugin ldap_plugin \
|
||
|
CFLAGS="-I$( pkgprefix includedir openldap )" \
|
||
|
LDFLAGS="-L$( pkgprefix libdir openldap )"
|
||
|
fi
|
||
|
|
||
|
# FIXME the configure scripts needs a fix to add
|
||
17 years ago
|
# the -L.* for gnome24/glib-2.0 when trying to detect openobex
|
||
18 years ago
|
# if pkginstalled openobex; then
|
||
17 years ago
|
# build_multisync_plugin irmc_sync
|
||
18 years ago
|
# fi
|
||
|
}
|
||
|
|
||
|
var_append GCC_WRAPPER_REMOVE " " "-Werror"
|
||
|
|
||
|
hook_add postmake 3 multisync_pm
|
||
|
|