summaryrefslogtreecommitdiffstats
path: root/meta/packages/opensync/libopensync_svn.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/opensync/libopensync_svn.bb')
-rw-r--r--meta/packages/opensync/libopensync_svn.bb103
1 files changed, 99 insertions, 4 deletions
diff --git a/meta/packages/opensync/libopensync_svn.bb b/meta/packages/opensync/libopensync_svn.bb
index ac7da051c8..0fb86381e6 100644
--- a/meta/packages/opensync/libopensync_svn.bb
+++ b/meta/packages/opensync/libopensync_svn.bb
@@ -2,17 +2,112 @@ LICENSE = "LGPL"
2HOMEPAGE = "http://www.opensync.org/" 2HOMEPAGE = "http://www.opensync.org/"
3DEPENDS = "sqlite3 libxml2 zlib glib-2.0" 3DEPENDS = "sqlite3 libxml2 zlib glib-2.0"
4PV = "0.22+svn${SRCDATE}" 4PV = "0.22+svn${SRCDATE}"
5SRC_URI = "svn://svn.opensync.org;module=trunk;proto=http"
6 5
7inherit autotools pkgconfig lib_package 6SRC_URI = "svn://svn.opensync.org;module=trunk;proto=http \
7 file://fix-attr.patch;patch=1 \
8 file://gcc.patch;patch=1 \
9 file://zlib.patch;patch=1 \
10 file://no-werror.patch;patch=1"
11
12inherit scons
8 13
9S = "${WORKDIR}/trunk" 14S = "${WORKDIR}/trunk"
15
16DEFAULT_PREFERENCE = "-1"
17
10EXTRA_OECONF = "--disable-python" 18EXTRA_OECONF = "--disable-python"
11LEAD_SONAME = "libopensync.so" 19LEAD_SONAME = "libopensync.so"
12 20
13FILES_${PN} += " ${libdir}/opensync/formats/*.so" 21FILES_${PN} += " ${libdir}/opensync/formats/*.so ${datadir}/opensync/ ${libdir}/*.so"
22
23export HOST_SYS = "${HOST_ARCH}${HOST_VENDOR}-${HOST_OS}"
14 24
15do_stage() { 25do_stage() {
16 autotools_stage_all 26install -d ${STAGING_LIBDIR}/formats
27
28install -m 0644 formats/libcontact.so ${STAGING_LIBDIR}/formats/
29install -m 0644 formats/libdata.so ${STAGING_LIBDIR}/formats/
30install -m 0644 formats/libevent.so ${STAGING_LIBDIR}/formats/
31install -m 0644 formats/libfile.so ${STAGING_LIBDIR}/formats/
32install -m 0644 formats/libopensync-*format.so ${STAGING_LIBDIR}/formats/
33install -m 0644 formats/libtodo.so ${STAGING_LIBDIR}/formats/
34install -m 0644 formats/libxmlformat-*.so ${STAGING_LIBDIR}/formats/
35install -m 0644 opensync/libopensync.so ${STAGING_LIBDIR}
36
37install -d ${STAGING_INCDIR}/opensync-1.0/opensync/archive/
38install -d ${STAGING_INCDIR}/opensync-1.0/opensync/data/
39install -d ${STAGING_INCDIR}/opensync-1.0/opensync/engine/
40install -d ${STAGING_INCDIR}/opensync-1.0/opensync/format/
41install -d ${STAGING_INCDIR}/opensync-1.0/opensync/group/
42install -d ${STAGING_INCDIR}/opensync-1.0/opensync/helper/
43install -d ${STAGING_INCDIR}/opensync-1.0/opensync/ipc/
44install -d ${STAGING_INCDIR}/opensync-1.0/opensync/mapping/
45install -d ${STAGING_INCDIR}/opensync-1.0/opensync/merger/
46install -d ${STAGING_INCDIR}/opensync-1.0/opensync/plugin/
47install -d ${STAGING_INCDIR}/opensync-1.0/opensync/version/
48
49install -m 0644 formats/file.h ${STAGING_INCDIR}/opensync-1.0/opensync/
50install -m 0644 opensync/opensync-client.h ${STAGING_INCDIR}/opensync-1.0/opensync/
51install -m 0644 opensync/opensync-context.h ${STAGING_INCDIR}/opensync-1.0/opensync/
52install -m 0644 opensync/opensync-data.h ${STAGING_INCDIR}/opensync-1.0/opensync/
53install -m 0644 opensync/opensync-engine.h ${STAGING_INCDIR}/opensync-1.0/opensync/
54install -m 0644 opensync/opensync-error.h ${STAGING_INCDIR}/opensync-1.0/opensync/
55install -m 0644 opensync/opensync-format.h ${STAGING_INCDIR}/opensync-1.0/opensync/
56install -m 0644 opensync/opensync-group.h ${STAGING_INCDIR}/opensync-1.0/opensync/
57install -m 0644 opensync/opensync.h ${STAGING_INCDIR}/opensync-1.0/opensync/
58install -m 0644 opensync/opensync-helper.h ${STAGING_INCDIR}/opensync-1.0/opensync/
59install -m 0644 opensync/opensync-ipc.h ${STAGING_INCDIR}/opensync-1.0/opensync/
60install -m 0644 opensync/opensync_list.h ${STAGING_INCDIR}/opensync-1.0/opensync/
61install -m 0644 opensync/opensync-mapping.h ${STAGING_INCDIR}/opensync-1.0/opensync/
62install -m 0644 opensync/opensync-merger.h ${STAGING_INCDIR}/opensync-1.0/opensync/
63install -m 0644 opensync/opensync-module.h ${STAGING_INCDIR}/opensync-1.0/opensync/
64install -m 0644 opensync/opensync-plugin.h ${STAGING_INCDIR}/opensync-1.0/opensync/
65install -m 0644 opensync/opensync-serializer.h ${STAGING_INCDIR}/opensync-1.0/opensync/
66install -m 0644 opensync/opensync-support.h ${STAGING_INCDIR}/opensync-1.0/opensync/
67install -m 0644 opensync/opensync-time.h ${STAGING_INCDIR}/opensync-1.0/opensync/
68install -m 0644 opensync/opensync-version.h ${STAGING_INCDIR}/opensync-1.0/opensync/
69install -m 0644 opensync/opensync_xml.h ${STAGING_INCDIR}/opensync-1.0/opensync/
70
71install -m 0644 opensync/archive/opensync_archive.h ${STAGING_INCDIR}/opensync-1.0/opensync/archive/
72install -m 0644 opensync/data/opensync_change.h ${STAGING_INCDIR}/opensync-1.0/opensync/data/
73install -m 0644 opensync/data/opensync_data.h ${STAGING_INCDIR}/opensync-1.0/opensync/data/
74install -m 0644 opensync/engine/opensync_engine.h ${STAGING_INCDIR}/opensync-1.0/opensync/engine/
75install -m 0644 opensync/engine/opensync_obj_engine.h ${STAGING_INCDIR}/opensync-1.0/opensync/engine/
76install -m 0644 opensync/engine/opensync_status.h ${STAGING_INCDIR}/opensync-1.0/opensync/engine/
77install -m 0644 opensync/format/opensync_converter.h ${STAGING_INCDIR}/opensync-1.0/opensync/format/
78install -m 0644 opensync/format/opensync_filter.h ${STAGING_INCDIR}/opensync-1.0/opensync/format/
79install -m 0644 opensync/format/opensync_format_env.h ${STAGING_INCDIR}/opensync-1.0/opensync/format/
80install -m 0644 opensync/format/opensync_objformat.h ${STAGING_INCDIR}/opensync-1.0/opensync/format/
81install -m 0644 opensync/format/opensync_time.h ${STAGING_INCDIR}/opensync-1.0/opensync/format/
82install -m 0644 opensync/group/opensync_group_env.h ${STAGING_INCDIR}/opensync-1.0/opensync/group/
83install -m 0644 opensync/group/opensync_group.h ${STAGING_INCDIR}/opensync-1.0/opensync/group/
84install -m 0644 opensync/group/opensync_member.h ${STAGING_INCDIR}/opensync-1.0/opensync/group/
85install -m 0644 opensync/helper/opensync_anchor.h ${STAGING_INCDIR}/opensync-1.0/opensync/helper/
86install -m 0644 opensync/helper/opensync_hashtable.h ${STAGING_INCDIR}/opensync-1.0/opensync/helper/
87install -m 0644 opensync/ipc/opensync_message.h ${STAGING_INCDIR}/opensync-1.0/opensync/ipc/
88install -m 0644 opensync/ipc/opensync_queue.h ${STAGING_INCDIR}/opensync-1.0/opensync/ipc/
89install -m 0644 opensync/ipc/opensync_serializer.h ${STAGING_INCDIR}/opensync-1.0/opensync/ipc/
90install -m 0644 opensync/mapping/opensync_mapping_entry.h ${STAGING_INCDIR}/opensync-1.0/opensync/mapping/
91install -m 0644 opensync/mapping/opensync_mapping.h ${STAGING_INCDIR}/opensync-1.0/opensync/mapping/
92install -m 0644 opensync/mapping/opensync_mapping_table.h ${STAGING_INCDIR}/opensync-1.0/opensync/mapping/
93install -m 0644 opensync/mapping/opensync_mapping_view.h ${STAGING_INCDIR}/opensync-1.0/opensync/mapping/
94install -m 0644 opensync/merger/opensync_capabilities.h ${STAGING_INCDIR}/opensync-1.0/opensync/merger/
95install -m 0644 opensync/merger/opensync_capability.h ${STAGING_INCDIR}/opensync-1.0/opensync/merger/
96install -m 0644 opensync/merger/opensync_merger.h ${STAGING_INCDIR}/opensync-1.0/opensync/merger/
97install -m 0644 opensync/merger/opensync_xmlfield.h ${STAGING_INCDIR}/opensync-1.0/opensync/merger/
98install -m 0644 opensync/merger/opensync_xmlfieldlist.h ${STAGING_INCDIR}/opensync-1.0/opensync/merger/
99install -m 0644 opensync/merger/opensync_xmlformat.h ${STAGING_INCDIR}/opensync-1.0/opensync/merger/
100install -m 0644 opensync/plugin/opensync_plugin_env.h ${STAGING_INCDIR}/opensync-1.0/opensync/plugin/
101install -m 0644 opensync/plugin/opensync_plugin.h ${STAGING_INCDIR}/opensync-1.0/opensync/plugin/
102install -m 0644 opensync/plugin/opensync_plugin_info.h ${STAGING_INCDIR}/opensync-1.0/opensync/plugin/
103install -m 0644 opensync/plugin/opensync_sink.h ${STAGING_INCDIR}/opensync-1.0/opensync/plugin/
104install -m 0644 opensync/version/opensync_version.h ${STAGING_INCDIR}/opensync-1.0/opensync/version/
105
106cat ${S}/opensync-1.0.pc | sed -e "s:=${WORKDIR}/image${libdir}:=${STAGING_LIBDIR}:" -e "s:=${WORKDIR}/image${includedir}:=${STAGING_INCDIR}:" -e "s:=${WORKDIR}/image${datadir}:=${STAGING_DATADIR}:" > ${PKG_CONFIG_PATH}/opensync-1.0.pc
107cat ${S}/osengine-1.0.pc | sed -e "s:=${WORKDIR}/image${libdir}:=${STAGING_LIBDIR}:" -e "s:=${WORKDIR}/image${includedir}:=${STAGING_INCDIR}:" -e "s:=${WORKDIR}/image${datadir}:=${STAGING_DATADIR}:" > ${PKG_CONFIG_PATH}/osengine-1.0.pc
108
17} 109}
18 110
111do_install_prepend() {
112 install -d ${D}${libdir}
113}