summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/packages/opensync/libopensync-plugin-evo2-sync_0.22.bb6
-rw-r--r--meta/packages/opensync/libopensync-plugin-file-sync_0.22.bb2
-rw-r--r--meta/packages/opensync/libopensync-plugin-irmc-sync_0.22.bb2
-rw-r--r--meta/packages/opensync/libopensync-plugin-syncml_0.22.bb13
-rw-r--r--meta/packages/opensync/libopensync-plugin_0.22.inc11
-rw-r--r--meta/packages/opensync/libopensync_0.22.bb21
-rw-r--r--meta/packages/opensync/msynctool_0.22.bb9
-rw-r--r--meta/packages/opensync/opensync-unpack.inc5
8 files changed, 69 insertions, 0 deletions
diff --git a/meta/packages/opensync/libopensync-plugin-evo2-sync_0.22.bb b/meta/packages/opensync/libopensync-plugin-evo2-sync_0.22.bb
new file mode 100644
index 0000000000..6b2609902a
--- /dev/null
+++ b/meta/packages/opensync/libopensync-plugin-evo2-sync_0.22.bb
@@ -0,0 +1,6 @@
1PLUGIN_ARCHIVE = "evolution2"
2
3require libopensync-plugin.inc
4require libopensync-plugin_0.22.inc
5
6DEPENDS += " eds-dbus"
diff --git a/meta/packages/opensync/libopensync-plugin-file-sync_0.22.bb b/meta/packages/opensync/libopensync-plugin-file-sync_0.22.bb
new file mode 100644
index 0000000000..d34473127d
--- /dev/null
+++ b/meta/packages/opensync/libopensync-plugin-file-sync_0.22.bb
@@ -0,0 +1,2 @@
1require libopensync-plugin.inc
2require libopensync-plugin_0.22.inc
diff --git a/meta/packages/opensync/libopensync-plugin-irmc-sync_0.22.bb b/meta/packages/opensync/libopensync-plugin-irmc-sync_0.22.bb
new file mode 100644
index 0000000000..d34473127d
--- /dev/null
+++ b/meta/packages/opensync/libopensync-plugin-irmc-sync_0.22.bb
@@ -0,0 +1,2 @@
1require libopensync-plugin.inc
2require libopensync-plugin_0.22.inc
diff --git a/meta/packages/opensync/libopensync-plugin-syncml_0.22.bb b/meta/packages/opensync/libopensync-plugin-syncml_0.22.bb
new file mode 100644
index 0000000000..2a26eb1674
--- /dev/null
+++ b/meta/packages/opensync/libopensync-plugin-syncml_0.22.bb
@@ -0,0 +1,13 @@
1
2require libopensync-plugin.inc
3
4DEPENDS += " libsyncml"
5
6do_install() {
7 install -d ${D}${datadir}/opensync/defaults
8 install -d ${D}${libdir}/opensync/plugins
9 install -m 644 src/syncml-http-server ${D}${datadir}/opensync/defaults
10 install -m 644 src/syncml-obex-client ${D}${datadir}/opensync/defaults
11 install -m 755 src/.libs/${PLUGIN_SONAME} ${D}${libdir}/opensync/plugins/
12}
13
diff --git a/meta/packages/opensync/libopensync-plugin_0.22.inc b/meta/packages/opensync/libopensync-plugin_0.22.inc
new file mode 100644
index 0000000000..851e8ee2fa
--- /dev/null
+++ b/meta/packages/opensync/libopensync-plugin_0.22.inc
@@ -0,0 +1,11 @@
1PLUGIN_ARCHIVE ?= "${@bb.data.getVar('PLUGIN_NAME', d, 1).replace('-sync','')}"
2SRC_URI = "http://www.opensync.org/attachment/wiki/download/libopensync-plugin-${PLUGIN_ARCHIVE}-${PV}.tar.bz2?format=raw"
3
4S = "${WORKDIR}/libopensync-plugin-${PLUGIN_ARCHIVE}-${PV}/"
5
6do_unpack2() {
7 cd ${WORKDIR} && tar jxf libopensync-plugin-${PLUGIN_ARCHIVE}-${PV}.tar.bz2?format=raw
8}
9
10addtask unpack2 after do_unpack before do_patch
11
diff --git a/meta/packages/opensync/libopensync_0.22.bb b/meta/packages/opensync/libopensync_0.22.bb
new file mode 100644
index 0000000000..ed4ef740bc
--- /dev/null
+++ b/meta/packages/opensync/libopensync_0.22.bb
@@ -0,0 +1,21 @@
1LICENSE = "LGPL"
2HOMEPAGE = "http://www.opensync.org/"
3
4DEPENDS = "sqlite3 libxml2 zlib glib-2.0"
5
6SRC_URI = "http://www.opensync.org/attachment/wiki/download/libopensync-0.22.tar.bz2?format=raw"
7
8inherit autotools pkgconfig lib_package
9
10EXTRA_OECONF = "--disable-python"
11LEAD_SONAME = "libopensync.so"
12
13FILES_${PN} += " ${libdir}/opensync/formats/*.so"
14FILES_${PN}-dbg += " ${libdir}/opensync/formats/.debug/*.so"
15
16require opensync-unpack.inc
17
18do_stage() {
19autotools_stage_all
20}
21
diff --git a/meta/packages/opensync/msynctool_0.22.bb b/meta/packages/opensync/msynctool_0.22.bb
new file mode 100644
index 0000000000..018c227e36
--- /dev/null
+++ b/meta/packages/opensync/msynctool_0.22.bb
@@ -0,0 +1,9 @@
1SRC_URI = "http://www.opensync.org/attachment/wiki/download/msynctool-0.22.tar.bz2?format=raw"
2
3LICENSE = "GPL"
4DEPENDS = "libopensync"
5HOMEPAGE = "http://www.opensync.org/"
6
7inherit autotools pkgconfig
8
9require opensync-unpack.inc
diff --git a/meta/packages/opensync/opensync-unpack.inc b/meta/packages/opensync/opensync-unpack.inc
new file mode 100644
index 0000000000..d5443187bd
--- /dev/null
+++ b/meta/packages/opensync/opensync-unpack.inc
@@ -0,0 +1,5 @@
1do_unpack2() {
2 cd ${WORKDIR} && tar jxf ${PN}-${PV}.tar.bz2?format=raw
3}
4
5addtask unpack2 after do_unpack before do_patch