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 @@ +PLUGIN_ARCHIVE = "evolution2" + +require libopensync-plugin.inc +require libopensync-plugin_0.22.inc + +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 @@ +require libopensync-plugin.inc +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 @@ +require libopensync-plugin.inc +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 @@ + +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_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 @@ +PLUGIN_ARCHIVE ?= "${@bb.data.getVar('PLUGIN_NAME', d, 1).replace('-sync','')}" +SRC_URI = "http://www.opensync.org/attachment/wiki/download/libopensync-plugin-${PLUGIN_ARCHIVE}-${PV}.tar.bz2?format=raw" + +S = "${WORKDIR}/libopensync-plugin-${PLUGIN_ARCHIVE}-${PV}/" + +do_unpack2() { + cd ${WORKDIR} && tar jxf libopensync-plugin-${PLUGIN_ARCHIVE}-${PV}.tar.bz2?format=raw +} + +addtask unpack2 after do_unpack before do_patch + 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 @@ +LICENSE = "LGPL" +HOMEPAGE = "http://www.opensync.org/" + +DEPENDS = "sqlite3 libxml2 zlib glib-2.0" + +SRC_URI = "http://www.opensync.org/attachment/wiki/download/libopensync-0.22.tar.bz2?format=raw" + +inherit autotools pkgconfig lib_package + +EXTRA_OECONF = "--disable-python" +LEAD_SONAME = "libopensync.so" + +FILES_${PN} += " ${libdir}/opensync/formats/*.so" +FILES_${PN}-dbg += " ${libdir}/opensync/formats/.debug/*.so" + +require opensync-unpack.inc + +do_stage() { +autotools_stage_all +} + 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 @@ +SRC_URI = "http://www.opensync.org/attachment/wiki/download/msynctool-0.22.tar.bz2?format=raw" + +LICENSE = "GPL" +DEPENDS = "libopensync" +HOMEPAGE = "http://www.opensync.org/" + +inherit autotools pkgconfig + +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 @@ +do_unpack2() { + cd ${WORKDIR} && tar jxf ${PN}-${PV}.tar.bz2?format=raw +} + +addtask unpack2 after do_unpack before do_patch |