summaryrefslogtreecommitdiffstats
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 0000000000..c1c8162b0b
--- /dev/null
+++ b/meta/packages/opensync/libopensync-plugin-file-sync_svn.bb
@@ -0,0 +1,3 @@
1
2require libopensync-plugin.inc
3
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 0000000000..9e4749183b
--- /dev/null
+++ b/meta/packages/opensync/libopensync-plugin-syncml-client-plugin_0.1.bb
@@ -0,0 +1,9 @@
1
2SRC_URI = "svn://svn.opensync.org/plugins/syncml-client/plugin/tags;module=release-0.1;proto=http"
3S = "${WORKDIR}/release-0.1"
4PV = "0.1"
5
6require libopensync-plugin.inc
7
8DEPENDS += " syncml-client"
9
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 0000000000..0a7d82db74
--- /dev/null
+++ b/meta/packages/opensync/libopensync-plugin-syncml-plugin.bb
@@ -0,0 +1,16 @@
1
2SRC_URI = "svn://svn.opensync.org/plugins;module=syncml;proto=http"
3S = "${WORKDIR}/syncml"
4
5require libopensync-plugin.inc
6
7DEPENDS += " libsyncml"
8
9do_install() {
10 install -d ${D}${datadir}/opensync/defaults
11 install -d ${D}${libdir}/opensync/plugins
12 install -m 644 src/syncml-http-server ${D}${datadir}/opensync/defaults
13 install -m 644 src/syncml-obex-client ${D}${datadir}/opensync/defaults
14 install -m 755 src/.libs/${PLUGIN_SONAME} ${D}${libdir}/opensync/plugins/
15}
16
diff --git a/meta/packages/opensync/libopensync-plugin.inc b/meta/packages/opensync/libopensync-plugin.inc
new file mode 100644
index 0000000000..f263973739
--- /dev/null
+++ b/meta/packages/opensync/libopensync-plugin.inc
@@ -0,0 +1,24 @@
1
2PV ?= "0.20+svn${SRCDATE}"
3PLUGIN_NAME ?= "${@bb.data.getVar('PN', d, 1).replace('libopensync-plugin-','')}"
4PLUGIN_SONAME ?= "${@bb.data.getVar('PLUGIN_NAME', d, 1).replace('-','_')}.so"
5SRC_URI ?= "svn://svn.opensync.org/plugins;module=${PLUGIN_NAME};proto=http"
6S ?= "${WORKDIR}/${PLUGIN_NAME}"
7
8LICENSE ?= "LGPL"
9DEPENDS += " libopensync"
10RRECOMMENDS += " msynctool"
11HOMEPAGE ?= "http://www.opensync.org/"
12
13inherit autotools pkgconfig
14
15FILES_${PN} += "${datadir} ${libdir}/opensync/plugins/*.so"
16FILES_${PN}-dbg += "${libdir}/opensync/plugins/.debug"
17
18do_install() {
19 install -d ${D}${datadir}/opensync/defaults
20 install -d ${D}${libdir}/opensync/plugins
21 install -m 644 src/${PLUGIN_NAME} ${D}${datadir}/opensync/defaults
22 install -m 755 src/.libs/${PLUGIN_SONAME} ${D}${libdir}/opensync/plugins/
23}
24
diff --git a/meta/packages/opensync/libopensync_svn.bb b/meta/packages/opensync/libopensync_svn.bb
new file mode 100644
index 0000000000..7a12d3c910
--- /dev/null
+++ b/meta/packages/opensync/libopensync_svn.bb
@@ -0,0 +1,18 @@
1LICENSE = "LGPL"
2HOMEPAGE = "http://www.opensync.org/"
3DEPENDS = "sqlite3 libxml2 zlib glib-2.0"
4PV = "0.20+svn${SRCDATE}"
5SRC_URI = "svn://svn.opensync.org;module=trunk;proto=http"
6
7inherit autotools pkgconfig lib_package
8
9S = "${WORKDIR}/trunk"
10EXTRA_OECONF = "--disable-python"
11LEAD_SONAME = "libopensync.so"
12
13FILES_${PN} += " ${libdir}/opensync/formats/*.so"
14
15do_stage() {
16 autotools_stage_all
17}
18
diff --git a/meta/packages/opensync/libsyncml_svn.bb b/meta/packages/opensync/libsyncml_svn.bb
new file mode 100644
index 0000000000..17b2537e85
--- /dev/null
+++ b/meta/packages/opensync/libsyncml_svn.bb
@@ -0,0 +1,35 @@
1DESCRIPTION = "Libsyncml is a implementation of the SyncML protocol."
2HOMEPAGE = "http://libsyncml.opensync.org/"
3LICENSE = "LGPL"
4
5DEPENDS = "sed-native wbxml2 libsoup libxml2 bluez-libs openobex"
6
7PV = "0.4.2+svn${SRCDATE}"
8SRC_URI = "svn://svn.opensync.org/libsyncml;module=trunk;proto=http"
9S = "${WORKDIR}/trunk"
10
11inherit autotools pkgconfig
12
13EXTRA_OECONF = " --enable-http \
14 --enable-obex \
15 --enable-bluetooth \
16 --enable-tools \
17 --with-wbxml"
18
19CFLAGS += "-I${STAGING_INCDIR}/libsoup-2.2"
20
21do_configure_append() {
22 sed -i s:-I/usr/include/:-I/foo/:g Makefile
23 sed -i s:-I/usr/include/:-I/foo/:g */Makefile
24 sed -i s:-I/usr/include/:-I/foo/:g */*/Makefile
25}
26
27do_stage() {
28 autotools_stage_all
29}
30
31PACKAGES += "${PN}-tools"
32
33FILES_${PN}-tools = "${bindir}"
34FILES_${PN} = "${libdir}/*.so.*"
35
diff --git a/meta/packages/opensync/msynctool_svn.bb b/meta/packages/opensync/msynctool_svn.bb
new file mode 100644
index 0000000000..b2a5c0c000
--- /dev/null
+++ b/meta/packages/opensync/msynctool_svn.bb
@@ -0,0 +1,10 @@
1PV = "0.20+svn${SRCDATE}"
2SRC_URI = "svn://svn.opensync.org/multisync;module=trunk;proto=http"
3S = "${WORKDIR}/trunk"
4
5LICENSE = "GPL"
6DEPENDS = "libopensync"
7HOMEPAGE = "http://www.opensync.org/"
8
9inherit autotools pkgconfig
10
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 0000000000..7a99236d90
--- /dev/null
+++ b/meta/packages/opensync/syncml-client_0.1.bb
@@ -0,0 +1,8 @@
1SRC_URI = "http://hem.bredband.net/miko22/${P}.tar.gz"
2
3LICENSE = "GPL"
4DEPENDS = "gtk+ curl gconf"
5HOMEPAGE = "http://hem.bredband.net/miko22/"
6DESCRIPTION = "Linux port of the Funambol C++ SyncML client connector."
7
8inherit autotools pkgconfig