diff options
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 @@ | |||
1 | PLUGIN_ARCHIVE = "evolution2" | ||
2 | |||
3 | require libopensync-plugin.inc | ||
4 | require libopensync-plugin_0.22.inc | ||
5 | |||
6 | DEPENDS += " 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 @@ | |||
1 | require libopensync-plugin.inc | ||
2 | require 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 @@ | |||
1 | require libopensync-plugin.inc | ||
2 | require 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 | |||
2 | require libopensync-plugin.inc | ||
3 | |||
4 | DEPENDS += " libsyncml" | ||
5 | |||
6 | do_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 @@ | |||
1 | PLUGIN_ARCHIVE ?= "${@bb.data.getVar('PLUGIN_NAME', d, 1).replace('-sync','')}" | ||
2 | SRC_URI = "http://www.opensync.org/attachment/wiki/download/libopensync-plugin-${PLUGIN_ARCHIVE}-${PV}.tar.bz2?format=raw" | ||
3 | |||
4 | S = "${WORKDIR}/libopensync-plugin-${PLUGIN_ARCHIVE}-${PV}/" | ||
5 | |||
6 | do_unpack2() { | ||
7 | cd ${WORKDIR} && tar jxf libopensync-plugin-${PLUGIN_ARCHIVE}-${PV}.tar.bz2?format=raw | ||
8 | } | ||
9 | |||
10 | addtask 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 @@ | |||
1 | LICENSE = "LGPL" | ||
2 | HOMEPAGE = "http://www.opensync.org/" | ||
3 | |||
4 | DEPENDS = "sqlite3 libxml2 zlib glib-2.0" | ||
5 | |||
6 | SRC_URI = "http://www.opensync.org/attachment/wiki/download/libopensync-0.22.tar.bz2?format=raw" | ||
7 | |||
8 | inherit autotools pkgconfig lib_package | ||
9 | |||
10 | EXTRA_OECONF = "--disable-python" | ||
11 | LEAD_SONAME = "libopensync.so" | ||
12 | |||
13 | FILES_${PN} += " ${libdir}/opensync/formats/*.so" | ||
14 | FILES_${PN}-dbg += " ${libdir}/opensync/formats/.debug/*.so" | ||
15 | |||
16 | require opensync-unpack.inc | ||
17 | |||
18 | do_stage() { | ||
19 | autotools_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 @@ | |||
1 | SRC_URI = "http://www.opensync.org/attachment/wiki/download/msynctool-0.22.tar.bz2?format=raw" | ||
2 | |||
3 | LICENSE = "GPL" | ||
4 | DEPENDS = "libopensync" | ||
5 | HOMEPAGE = "http://www.opensync.org/" | ||
6 | |||
7 | inherit autotools pkgconfig | ||
8 | |||
9 | require 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 @@ | |||
1 | do_unpack2() { | ||
2 | cd ${WORKDIR} && tar jxf ${PN}-${PV}.tar.bz2?format=raw | ||
3 | } | ||
4 | |||
5 | addtask unpack2 after do_unpack before do_patch | ||