diff options
Diffstat (limited to 'meta/packages/opensync')
-rw-r--r-- | meta/packages/opensync/libopensync-plugin-file-sync_svn.bb | 3 | ||||
-rw-r--r-- | meta/packages/opensync/libopensync-plugin-syncml-client-plugin_0.1.bb | 9 | ||||
-rw-r--r-- | meta/packages/opensync/libopensync-plugin-syncml-plugin.bb | 16 | ||||
-rw-r--r-- | meta/packages/opensync/libopensync-plugin.inc | 24 | ||||
-rw-r--r-- | meta/packages/opensync/libopensync_svn.bb | 18 | ||||
-rw-r--r-- | meta/packages/opensync/libsyncml_svn.bb | 35 | ||||
-rw-r--r-- | meta/packages/opensync/msynctool_svn.bb | 10 | ||||
-rw-r--r-- | meta/packages/opensync/syncml-client_0.1.bb | 8 |
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 | |||
2 | require 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 | |||
2 | SRC_URI = "svn://svn.opensync.org/plugins/syncml-client/plugin/tags;module=release-0.1;proto=http" | ||
3 | S = "${WORKDIR}/release-0.1" | ||
4 | PV = "0.1" | ||
5 | |||
6 | require libopensync-plugin.inc | ||
7 | |||
8 | DEPENDS += " 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 | |||
2 | SRC_URI = "svn://svn.opensync.org/plugins;module=syncml;proto=http" | ||
3 | S = "${WORKDIR}/syncml" | ||
4 | |||
5 | require libopensync-plugin.inc | ||
6 | |||
7 | DEPENDS += " libsyncml" | ||
8 | |||
9 | do_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 | |||
2 | PV ?= "0.20+svn${SRCDATE}" | ||
3 | PLUGIN_NAME ?= "${@bb.data.getVar('PN', d, 1).replace('libopensync-plugin-','')}" | ||
4 | PLUGIN_SONAME ?= "${@bb.data.getVar('PLUGIN_NAME', d, 1).replace('-','_')}.so" | ||
5 | SRC_URI ?= "svn://svn.opensync.org/plugins;module=${PLUGIN_NAME};proto=http" | ||
6 | S ?= "${WORKDIR}/${PLUGIN_NAME}" | ||
7 | |||
8 | LICENSE ?= "LGPL" | ||
9 | DEPENDS += " libopensync" | ||
10 | RRECOMMENDS += " msynctool" | ||
11 | HOMEPAGE ?= "http://www.opensync.org/" | ||
12 | |||
13 | inherit autotools pkgconfig | ||
14 | |||
15 | FILES_${PN} += "${datadir} ${libdir}/opensync/plugins/*.so" | ||
16 | FILES_${PN}-dbg += "${libdir}/opensync/plugins/.debug" | ||
17 | |||
18 | do_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 @@ | |||
1 | LICENSE = "LGPL" | ||
2 | HOMEPAGE = "http://www.opensync.org/" | ||
3 | DEPENDS = "sqlite3 libxml2 zlib glib-2.0" | ||
4 | PV = "0.20+svn${SRCDATE}" | ||
5 | SRC_URI = "svn://svn.opensync.org;module=trunk;proto=http" | ||
6 | |||
7 | inherit autotools pkgconfig lib_package | ||
8 | |||
9 | S = "${WORKDIR}/trunk" | ||
10 | EXTRA_OECONF = "--disable-python" | ||
11 | LEAD_SONAME = "libopensync.so" | ||
12 | |||
13 | FILES_${PN} += " ${libdir}/opensync/formats/*.so" | ||
14 | |||
15 | do_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 @@ | |||
1 | DESCRIPTION = "Libsyncml is a implementation of the SyncML protocol." | ||
2 | HOMEPAGE = "http://libsyncml.opensync.org/" | ||
3 | LICENSE = "LGPL" | ||
4 | |||
5 | DEPENDS = "sed-native wbxml2 libsoup libxml2 bluez-libs openobex" | ||
6 | |||
7 | PV = "0.4.2+svn${SRCDATE}" | ||
8 | SRC_URI = "svn://svn.opensync.org/libsyncml;module=trunk;proto=http" | ||
9 | S = "${WORKDIR}/trunk" | ||
10 | |||
11 | inherit autotools pkgconfig | ||
12 | |||
13 | EXTRA_OECONF = " --enable-http \ | ||
14 | --enable-obex \ | ||
15 | --enable-bluetooth \ | ||
16 | --enable-tools \ | ||
17 | --with-wbxml" | ||
18 | |||
19 | CFLAGS += "-I${STAGING_INCDIR}/libsoup-2.2" | ||
20 | |||
21 | do_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 | |||
27 | do_stage() { | ||
28 | autotools_stage_all | ||
29 | } | ||
30 | |||
31 | PACKAGES += "${PN}-tools" | ||
32 | |||
33 | FILES_${PN}-tools = "${bindir}" | ||
34 | FILES_${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 @@ | |||
1 | PV = "0.20+svn${SRCDATE}" | ||
2 | SRC_URI = "svn://svn.opensync.org/multisync;module=trunk;proto=http" | ||
3 | S = "${WORKDIR}/trunk" | ||
4 | |||
5 | LICENSE = "GPL" | ||
6 | DEPENDS = "libopensync" | ||
7 | HOMEPAGE = "http://www.opensync.org/" | ||
8 | |||
9 | inherit 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 @@ | |||
1 | SRC_URI = "http://hem.bredband.net/miko22/${P}.tar.gz" | ||
2 | |||
3 | LICENSE = "GPL" | ||
4 | DEPENDS = "gtk+ curl gconf" | ||
5 | HOMEPAGE = "http://hem.bredband.net/miko22/" | ||
6 | DESCRIPTION = "Linux port of the Funambol C++ SyncML client connector." | ||
7 | |||
8 | inherit autotools pkgconfig | ||