summaryrefslogtreecommitdiff
path: root/meta/packages/opensync
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/opensync')
-rw-r--r--meta/packages/opensync/libopensync-plugin-file-sync_svn.bb3
-rw-r--r--meta/packages/opensync/libopensync-plugin-syncml-client-plugin_0.1.bb9
-rw-r--r--meta/packages/opensync/libopensync-plugin-syncml-plugin.bb16
-rw-r--r--meta/packages/opensync/libopensync-plugin.inc24
-rw-r--r--meta/packages/opensync/libopensync_svn.bb18
-rw-r--r--meta/packages/opensync/libsyncml_svn.bb35
-rw-r--r--meta/packages/opensync/msynctool_svn.bb10
-rw-r--r--meta/packages/opensync/syncml-client_0.1.bb8
8 files changed, 123 insertions, 0 deletions
diff --git a/meta/packages/opensync/libopensync-plugin-file-sync_svn.bb b/meta/packages/opensync/libopensync-plugin-file-sync_svn.bb
new file mode 100644
index 000000000..c1c8162b0
--- /dev/null
+++ b/meta/packages/opensync/libopensync-plugin-file-sync_svn.bb
@@ -0,0 +1,3 @@
+
+require libopensync-plugin.inc
+
diff --git a/meta/packages/opensync/libopensync-plugin-syncml-client-plugin_0.1.bb b/meta/packages/opensync/libopensync-plugin-syncml-client-plugin_0.1.bb
new file mode 100644
index 000000000..9e4749183
--- /dev/null
+++ b/meta/packages/opensync/libopensync-plugin-syncml-client-plugin_0.1.bb
@@ -0,0 +1,9 @@
+
+SRC_URI = "svn://svn.opensync.org/plugins/syncml-client/plugin/tags;module=release-0.1;proto=http"
+S = "${WORKDIR}/release-0.1"
+PV = "0.1"
+
+require libopensync-plugin.inc
+
+DEPENDS += " syncml-client"
+
diff --git a/meta/packages/opensync/libopensync-plugin-syncml-plugin.bb b/meta/packages/opensync/libopensync-plugin-syncml-plugin.bb
new file mode 100644
index 000000000..0a7d82db7
--- /dev/null
+++ b/meta/packages/opensync/libopensync-plugin-syncml-plugin.bb
@@ -0,0 +1,16 @@
+
+SRC_URI = "svn://svn.opensync.org/plugins;module=syncml;proto=http"
+S = "${WORKDIR}/syncml"
+
+require libopensync-plugin.inc
+
+DEPENDS += " libsyncml"
+
+do_install() {
+ install -d ${D}${datadir}/opensync/defaults
+ install -d ${D}${libdir}/opensync/plugins
+ install -m 644 src/syncml-http-server ${D}${datadir}/opensync/defaults
+ install -m 644 src/syncml-obex-client ${D}${datadir}/opensync/defaults
+ install -m 755 src/.libs/${PLUGIN_SONAME} ${D}${libdir}/opensync/plugins/
+}
+
diff --git a/meta/packages/opensync/libopensync-plugin.inc b/meta/packages/opensync/libopensync-plugin.inc
new file mode 100644
index 000000000..f26397373
--- /dev/null
+++ b/meta/packages/opensync/libopensync-plugin.inc
@@ -0,0 +1,24 @@
+
+PV ?= "0.20+svn${SRCDATE}"
+PLUGIN_NAME ?= "${@bb.data.getVar('PN', d, 1).replace('libopensync-plugin-','')}"
+PLUGIN_SONAME ?= "${@bb.data.getVar('PLUGIN_NAME', d, 1).replace('-','_')}.so"
+SRC_URI ?= "svn://svn.opensync.org/plugins;module=${PLUGIN_NAME};proto=http"
+S ?= "${WORKDIR}/${PLUGIN_NAME}"
+
+LICENSE ?= "LGPL"
+DEPENDS += " libopensync"
+RRECOMMENDS += " msynctool"
+HOMEPAGE ?= "http://www.opensync.org/"
+
+inherit autotools pkgconfig
+
+FILES_${PN} += "${datadir} ${libdir}/opensync/plugins/*.so"
+FILES_${PN}-dbg += "${libdir}/opensync/plugins/.debug"
+
+do_install() {
+ install -d ${D}${datadir}/opensync/defaults
+ install -d ${D}${libdir}/opensync/plugins
+ install -m 644 src/${PLUGIN_NAME} ${D}${datadir}/opensync/defaults
+ install -m 755 src/.libs/${PLUGIN_SONAME} ${D}${libdir}/opensync/plugins/
+}
+
diff --git a/meta/packages/opensync/libopensync_svn.bb b/meta/packages/opensync/libopensync_svn.bb
new file mode 100644
index 000000000..7a12d3c91
--- /dev/null
+++ b/meta/packages/opensync/libopensync_svn.bb
@@ -0,0 +1,18 @@
+LICENSE = "LGPL"
+HOMEPAGE = "http://www.opensync.org/"
+DEPENDS = "sqlite3 libxml2 zlib glib-2.0"
+PV = "0.20+svn${SRCDATE}"
+SRC_URI = "svn://svn.opensync.org;module=trunk;proto=http"
+
+inherit autotools pkgconfig lib_package
+
+S = "${WORKDIR}/trunk"
+EXTRA_OECONF = "--disable-python"
+LEAD_SONAME = "libopensync.so"
+
+FILES_${PN} += " ${libdir}/opensync/formats/*.so"
+
+do_stage() {
+ autotools_stage_all
+}
+
diff --git a/meta/packages/opensync/libsyncml_svn.bb b/meta/packages/opensync/libsyncml_svn.bb
new file mode 100644
index 000000000..17b2537e8
--- /dev/null
+++ b/meta/packages/opensync/libsyncml_svn.bb
@@ -0,0 +1,35 @@
+DESCRIPTION = "Libsyncml is a implementation of the SyncML protocol."
+HOMEPAGE = "http://libsyncml.opensync.org/"
+LICENSE = "LGPL"
+
+DEPENDS = "sed-native wbxml2 libsoup libxml2 bluez-libs openobex"
+
+PV = "0.4.2+svn${SRCDATE}"
+SRC_URI = "svn://svn.opensync.org/libsyncml;module=trunk;proto=http"
+S = "${WORKDIR}/trunk"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = " --enable-http \
+ --enable-obex \
+ --enable-bluetooth \
+ --enable-tools \
+ --with-wbxml"
+
+CFLAGS += "-I${STAGING_INCDIR}/libsoup-2.2"
+
+do_configure_append() {
+ sed -i s:-I/usr/include/:-I/foo/:g Makefile
+ sed -i s:-I/usr/include/:-I/foo/:g */Makefile
+ sed -i s:-I/usr/include/:-I/foo/:g */*/Makefile
+}
+
+do_stage() {
+ autotools_stage_all
+}
+
+PACKAGES += "${PN}-tools"
+
+FILES_${PN}-tools = "${bindir}"
+FILES_${PN} = "${libdir}/*.so.*"
+
diff --git a/meta/packages/opensync/msynctool_svn.bb b/meta/packages/opensync/msynctool_svn.bb
new file mode 100644
index 000000000..b2a5c0c00
--- /dev/null
+++ b/meta/packages/opensync/msynctool_svn.bb
@@ -0,0 +1,10 @@
+PV = "0.20+svn${SRCDATE}"
+SRC_URI = "svn://svn.opensync.org/multisync;module=trunk;proto=http"
+S = "${WORKDIR}/trunk"
+
+LICENSE = "GPL"
+DEPENDS = "libopensync"
+HOMEPAGE = "http://www.opensync.org/"
+
+inherit autotools pkgconfig
+
diff --git a/meta/packages/opensync/syncml-client_0.1.bb b/meta/packages/opensync/syncml-client_0.1.bb
new file mode 100644
index 000000000..7a99236d9
--- /dev/null
+++ b/meta/packages/opensync/syncml-client_0.1.bb
@@ -0,0 +1,8 @@
+SRC_URI = "http://hem.bredband.net/miko22/${P}.tar.gz"
+
+LICENSE = "GPL"
+DEPENDS = "gtk+ curl gconf"
+HOMEPAGE = "http://hem.bredband.net/miko22/"
+DESCRIPTION = "Linux port of the Funambol C++ SyncML client connector."
+
+inherit autotools pkgconfig