summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/libusb/libusb-native_0.1.12.bb3
-rw-r--r--meta/packages/libusb/libusb_0.1.12.bb35
-rw-r--r--meta/packages/openobex/files/disable-cable-test.patch16
-rw-r--r--meta/packages/openobex/files/libusb_crosscompile_check.patch12
-rw-r--r--meta/packages/openobex/openobex_1.2.bb32
-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
-rw-r--r--meta/packages/sed/sed-native_4.1.2.bb3
-rw-r--r--meta/packages/sed/sed_4.1.2.bb26
-rw-r--r--meta/packages/sqlite/sqlite3-3.3.7/cross-compile.patch92
-rw-r--r--meta/packages/sqlite/sqlite3-3.3.7/ldflags.patch67
-rw-r--r--meta/packages/sqlite/sqlite3-3.3.7/libtool.patch25
-rw-r--r--meta/packages/sqlite/sqlite3.inc44
-rw-r--r--meta/packages/sqlite/sqlite3_3.3.7.bb2
-rw-r--r--meta/packages/sync/libsync_svn.bb22
-rw-r--r--meta/packages/wbxml/files/no-doc-install.patch15
-rw-r--r--meta/packages/wbxml/wbxml2_0.9.2.bb24
23 files changed, 541 insertions, 0 deletions
diff --git a/meta/packages/libusb/libusb-native_0.1.12.bb b/meta/packages/libusb/libusb-native_0.1.12.bb
new file mode 100644
index 0000000000..637ded28e4
--- /dev/null
+++ b/meta/packages/libusb/libusb-native_0.1.12.bb
@@ -0,0 +1,3 @@
1require libusb_${PV}.bb
2inherit native
3
diff --git a/meta/packages/libusb/libusb_0.1.12.bb b/meta/packages/libusb/libusb_0.1.12.bb
new file mode 100644
index 0000000000..43c6ea92bd
--- /dev/null
+++ b/meta/packages/libusb/libusb_0.1.12.bb
@@ -0,0 +1,35 @@
1DESCRIPTION = "libusb is a library to provide userspace \
2access to USB devices."
3HOMEPAGE = "http://libusb.sf.net"
4SECTION = "libs"
5LICENSE = "LGPL"
6PR = "r1"
7
8SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.gz"
9
10S = "${WORKDIR}/libusb-${PV}"
11
12inherit autotools pkgconfig binconfig lib_package
13
14PARALLEL_MAKE = ""
15EXTRA_OECONF = "--disable-build-docs"
16
17export CXXFLAGS += "-lstdc++"
18
19do_stage() {
20
21 autotools_stage_all
22 install -m 755 ${S}/libusb-config ${STAGING_BINDIR}
23 # can we get rid of that? wouldn't a sed statement do as well?
24 sed -i 's:\-L${libdir} :-L${STAGING_LIBDIR} :' ${STAGING_BINDIR}/libusb-config
25
26 if [ "${STAGING_BINDIR}" != "${STAGING_BINDIR_CROSS}" ]; then
27 install -d ${STAGING_BINDIR_CROSS}/
28 mv ${STAGING_BINDIR}/libusb-config ${STAGING_BINDIR_CROSS}/libusb-config
29 fi
30
31}
32
33PACKAGES =+ "libusbpp"
34
35FILES_libusbpp = "${libdir}/libusbpp*.so.*"
diff --git a/meta/packages/openobex/files/disable-cable-test.patch b/meta/packages/openobex/files/disable-cable-test.patch
new file mode 100644
index 0000000000..95b636dd8f
--- /dev/null
+++ b/meta/packages/openobex/files/disable-cable-test.patch
@@ -0,0 +1,16 @@
1
2#
3# Patch managed by http://www.holgerschurig.de/patcher.html
4#
5
6--- openobex-1.2/apps/Makefile.am~disable-cable-test
7+++ openobex-1.2/apps/Makefile.am
8@@ -6,7 +6,7 @@
9 obex_io.c obex_io.h \
10 obex_put_common.c obex_put_common.h
11
12-bin_PROGRAMS = irxfer obex_tcp irobex_palm3 obex_test
13+bin_PROGRAMS = irxfer obex_tcp irobex_palm3
14
15 obex_test_SOURCES = \
16 obex_test.c obex_test.h \
diff --git a/meta/packages/openobex/files/libusb_crosscompile_check.patch b/meta/packages/openobex/files/libusb_crosscompile_check.patch
new file mode 100644
index 0000000000..c28921b8ca
--- /dev/null
+++ b/meta/packages/openobex/files/libusb_crosscompile_check.patch
@@ -0,0 +1,12 @@
1diff -Naur openobex-1.2_old/acinclude.m4 openobex-1.2/acinclude.m4
2--- openobex-1.2_old/acinclude.m4 2006-03-07 19:57:49.000000000 +0200
3+++ openobex-1.2/acinclude.m4 2006-04-18 23:07:25.000000000 +0300
4@@ -195,7 +195,7 @@
5
6 if (test "${usb_enable}" = "yes" && test "${usb_found}" = "yes"); then
7 AC_DEFINE(HAVE_USB, 1, [Define if system supports USB and it's enabled])
8- AC_CHECK_FILE(${usb_prefix}/lib/pkgconfig/libusb.pc, REQUIRES="$REQUIRES libusb")
9+ REQUIRES="libusb"
10 fi
11
12 AM_CONDITIONAL(APPS, test "${apps_enable}" = "yes")
diff --git a/meta/packages/openobex/openobex_1.2.bb b/meta/packages/openobex/openobex_1.2.bb
new file mode 100644
index 0000000000..0c8d118cff
--- /dev/null
+++ b/meta/packages/openobex/openobex_1.2.bb
@@ -0,0 +1,32 @@
1DESCRIPTION = "The Openobex project is an open source implementation of the \
2Object Exchange (OBEX) protocol."
3HOMEPAGE = "http://openobex.triq.net"
4SECTION = "libs"
5PROVIDES = "openobex-apps"
6DEPENDS = "libusb bluez-libs"
7LICENSE = "GPL"
8PR = "r3"
9
10SRC_URI = "${SOURCEFORGE_MIRROR}/openobex/openobex-${PV}.tar.gz \
11 file://disable-cable-test.patch;patch=1" \
12 file://libusb_crosscompile_check.patch;patch=1"
13
14inherit autotools binconfig pkgconfig
15
16EXTRA_OECONF = "--enable-apps --enable-syslog --enable-dump \
17 --with-usb=${STAGING_LIBDIR}/.. --with-bluez=${STAGING_LIBDIR}/.."
18
19do_stage() {
20 oe_libinstall -so -C lib libopenobex ${STAGING_LIBDIR}
21 ln -sf libopenobex.so ${STAGING_LIBDIR}/libopenobex-1.2.so
22 install -d ${STAGING_INCDIR}/openobex
23 install -m 0644 include/*.h ${STAGING_INCDIR}/openobex/
24 install -d ${STAGING_DIR}/aclocal
25 install -m 0644 openobex.m4 ${STAGING_DATADIR}/aclocal/
26}
27
28# how to stop shlibrename from renaming -apps?
29PACKAGES += "openobex-apps"
30FILES_${PN} = "${libdir}/lib*.so.*"
31FILES_${PN}-dev += "${bindir}/openobex-config"
32FILES_${PN}-apps = "${bindir}/*"
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
diff --git a/meta/packages/sed/sed-native_4.1.2.bb b/meta/packages/sed/sed-native_4.1.2.bb
new file mode 100644
index 0000000000..3bfacd88a3
--- /dev/null
+++ b/meta/packages/sed/sed-native_4.1.2.bb
@@ -0,0 +1,3 @@
1SECTION = "console/utils"
2require sed_${PV}.bb
3inherit native
diff --git a/meta/packages/sed/sed_4.1.2.bb b/meta/packages/sed/sed_4.1.2.bb
new file mode 100644
index 0000000000..fe80f3e687
--- /dev/null
+++ b/meta/packages/sed/sed_4.1.2.bb
@@ -0,0 +1,26 @@
1LICENSE = "GPL"
2SECTION = "console/utils"
3DESCRIPTION = "sed is a Stream EDitor."
4PR = "r1"
5
6SRC_URI = "${GNU_MIRROR}/sed/sed-${PV}.tar.gz"
7S = "${WORKDIR}/sed-${PV}"
8
9inherit autotools
10
11do_install () {
12 autotools_do_install
13 install -d ${D}${base_bindir}
14 mv ${D}${bindir}/sed ${D}${base_bindir}/sed.${PN}
15}
16
17
18pkg_postinst_${PN} () {
19 update-alternatives --install ${base_bindir}/sed sed sed.${PN} 100
20}
21
22
23pkg_prerm_${PN} () {
24 update-alternatives --remove sed sed.${PN}
25}
26
diff --git a/meta/packages/sqlite/sqlite3-3.3.7/cross-compile.patch b/meta/packages/sqlite/sqlite3-3.3.7/cross-compile.patch
new file mode 100644
index 0000000000..31d4f0d162
--- /dev/null
+++ b/meta/packages/sqlite/sqlite3-3.3.7/cross-compile.patch
@@ -0,0 +1,92 @@
1--- sqlite-3.3.7/configure.ac.orig 2006-08-21 00:20:50.000000000 +0200
2+++ sqlite-3.3.7/configure.ac 2006-08-21 00:22:35.000000000 +0200
3@@ -187,10 +187,11 @@
4 default_build_cflags="-g"
5 if test "$config_BUILD_CC" = ""; then
6 AC_PROG_CC
7- if test "$cross_compiling" = "yes"; then
8- AC_MSG_ERROR([unable to find a compiler for building build tools])
9- fi
10- BUILD_CC=$CC
11+# if test "$cross_compiling" = "yes"; then
12+# AC_MSG_ERROR([unable to find a compiler for building build tools])
13+# fi
14+# BUILD_CC=$CC
15+BUILD_CC=gcc
16 default_build_cflags=$CFLAGS
17 else
18 BUILD_CC=$config_BUILD_CC
19@@ -238,6 +239,12 @@
20 TARGET_LINK=$config_TARGET_LINK
21 fi
22 AC_MSG_RESULT($TARGET_LINK)
23+if test "$config_TARGET_LFLAGS" != ""; then
24+ TARGET_LFLAGS=$config_TARGET_LFLAGS
25+ else
26+ TARGET_LFLAGS=$BUILD_LFLAGS
27+ fi
28+AC_MSG_RESULT($TARGET_LFLAGS)
29 AC_MSG_CHECKING([switches on the target compiler])
30 if test "$config_TARGET_TFLAGS" != ""; then
31 TARGET_TFLAGS=$config_TARGET_TFLAGS
32@@ -592,15 +599,7 @@
33 # Figure out what C libraries are required to compile programs
34 # that use "readline()" library.
35 #
36-if test "$config_TARGET_READLINE_LIBS" != ""; then
37- TARGET_READLINE_LIBS="$config_TARGET_READLINE_LIBS"
38-else
39- CC=$TARGET_CC
40- LIBS=""
41- AC_SEARCH_LIBS(tgetent, [readline ncurses curses termcap])
42- AC_CHECK_LIB([readline], [readline])
43- TARGET_READLINE_LIBS="$LIBS"
44-fi
45+TARGET_READLINE_LIBS="-lreadline"
46 AC_SUBST(TARGET_READLINE_LIBS)
47
48 ##########
49@@ -615,41 +614,8 @@
50 ##########
51 # Figure out where to get the READLINE header files.
52 #
53-AC_MSG_CHECKING([readline header files])
54-found=no
55-if test "$config_TARGET_READLINE_INC" != ""; then
56- TARGET_READLINE_INC=$config_TARGET_READLINE_INC
57- found=yes
58-fi
59-if test "$found" = "yes"; then
60- AC_MSG_RESULT($TARGET_READLINE_INC)
61-else
62- AC_MSG_RESULT(not specified: still searching...)
63- AC_CHECK_HEADER(readline.h, [found=yes])
64-fi
65-if test "$found" = "no"; then
66- for dir in /usr /usr/local /usr/local/readline /usr/contrib /mingw; do
67- AC_CHECK_FILE($dir/include/readline.h, found=yes)
68- if test "$found" = "yes"; then
69- TARGET_READLINE_INC="-I$dir/include"
70- break
71- fi
72- AC_CHECK_FILE($dir/include/readline/readline.h, found=yes)
73- if test "$found" = "yes"; then
74- TARGET_READLINE_INC="-I$dir/include/readline"
75- break
76- fi
77- done
78-fi
79-if test "$found" = "yes"; then
80- if test "$TARGET_READLINE_LIBS" = ""; then
81- TARGET_HAVE_READLINE=0
82- else
83- TARGET_HAVE_READLINE=1
84- fi
85-else
86- TARGET_HAVE_READLINE=0
87-fi
88+TARGET_READLINE_INC=""
89+TARGET_HAVE_READLINE=1
90 AC_SUBST(TARGET_READLINE_INC)
91 AC_SUBST(TARGET_HAVE_READLINE)
92
diff --git a/meta/packages/sqlite/sqlite3-3.3.7/ldflags.patch b/meta/packages/sqlite/sqlite3-3.3.7/ldflags.patch
new file mode 100644
index 0000000000..ee5105ffff
--- /dev/null
+++ b/meta/packages/sqlite/sqlite3-3.3.7/ldflags.patch
@@ -0,0 +1,67 @@
1--- sqlite-3.3.7/Makefile.in.orig 2006-08-20 23:05:36.000000000 +0200
2+++ sqlite-3.3.7/Makefile.in 2006-08-20 23:42:49.000000000 +0200
3@@ -31,6 +31,10 @@
4 #
5 TCC = @TARGET_CC@ @TARGET_CFLAGS@ -I. -I${TOP}/src
6
7+# OE overrides
8+#
9+TARGET_LFLAGS = @TARGET_LFLAGS@
10+
11 # Define -DNDEBUG to compile without debugging (i.e., for production usage)
12 # Omitting the define will cause extra debugging code to be inserted and
13 # includes extra comments when "EXPLAIN stmt" is used.
14@@ -257,17 +261,17 @@
15 | $(NAWK) '{print $$5,$$6}' >last_change
16
17 libsqlite3.la: $(LIBOBJ)
18- $(LTLINK) -o libsqlite3.la $(LIBOBJ) $(LIBPTHREAD) \
19+ $(LTLINK) -o libsqlite3.la $(LIBOBJ) $(TARGET_LFLAGS) $(LIBPTHREAD) \
20 ${ALLOWRELEASE} -rpath $(libdir) -version-info "8:6:8"
21
22 libtclsqlite3.la: tclsqlite.lo libsqlite3.la
23 $(LTLINK) -o libtclsqlite3.la tclsqlite.lo \
24- $(LIBOBJ) @TCL_STUB_LIB_SPEC@ $(LIBPTHREAD) \
25+ $(LIBOBJ) @TCL_STUB_LIB_SPEC@ $(TARGET_LFLAGS) $(LIBPTHREAD) \
26 -rpath $(libdir)/sqlite \
27 -version-info "8:6:8"
28
29 sqlite3$(TEXE): $(TOP)/src/shell.c libsqlite3.la sqlite3.h
30- $(LTLINK) $(READLINE_FLAGS) $(LIBPTHREAD) \
31+ $(LTLINK) $(TARGET_LFLAGS) $(READLINE_FLAGS) $(LIBPTHREAD) \
32 -o $@ $(TOP)/src/shell.c libsqlite3.la \
33 $(LIBREADLINE) $(TLIBS)
34
35@@ -456,12 +460,12 @@
36
37 tclsqlite3: tclsqlite-shell.lo libsqlite3.la
38 $(LTLINK) -o tclsqlite3 tclsqlite-shell.lo \
39- libsqlite3.la $(LIBTCL)
40+ libsqlite3.la $(TARGET_LFLAGS) $(LIBTCL)
41
42 testfixture$(TEXE): $(TOP)/src/tclsqlite.c libsqlite3.la $(TESTSRC)
43 $(LTLINK) -DTCLSH=1 -DSQLITE_TEST=1 -DSQLITE_CRASH_TEST=1 \
44 $(TEMP_STORE) -o testfixture $(TESTSRC) $(TOP)/src/tclsqlite.c \
45- libsqlite3.la $(LIBTCL)
46+ libsqlite3.la $(TARGET_LFLAGS) $(LIBTCL)
47
48
49 fulltest: testfixture$(TEXE) sqlite3$(TEXE)
50@@ -471,7 +475,7 @@
51 ./testfixture $(TOP)/test/quick.test
52
53 sqlite3_analyzer$(TEXE): $(TOP)/src/tclsqlite.c libtclsqlite3.la \
54- $(TESTSRC) $(TOP)/tool/spaceanal.tcl
55+ $(TARGET_LFLAGS) $(TESTSRC) $(TOP)/tool/spaceanal.tcl
56 sed \
57 -e '/^#/d' \
58 -e 's,\\,\\\\,g' \
59@@ -481,7 +485,7 @@
60 $(TOP)/tool/spaceanal.tcl >spaceanal_tcl.h
61 $(LTLINK) -DTCLSH=2 -DSQLITE_TEST=1 $(TEMP_STORE)\
62 -o sqlite3_analyzer$(EXE) $(TESTSRC) $(TOP)/src/tclsqlite.c \
63- libtclsqlite3.la $(LIBTCL)
64+ libtclsqlite3.la $(TARGET_LFLAGS) $(LIBTCL)
65
66 # Rules used to build documentation
67 #
diff --git a/meta/packages/sqlite/sqlite3-3.3.7/libtool.patch b/meta/packages/sqlite/sqlite3-3.3.7/libtool.patch
new file mode 100644
index 0000000000..ccf9993ed2
--- /dev/null
+++ b/meta/packages/sqlite/sqlite3-3.3.7/libtool.patch
@@ -0,0 +1,25 @@
1Index: sqlite-3.2.1/Makefile.in
2===================================================================
3--- sqlite-3.2.1.orig/Makefile.in 2005-03-23 17:09:39.000000000 +0100
4+++ sqlite-3.2.1/Makefile.in 2005-04-25 23:11:20.000000000 +0200
5@@ -15,7 +15,10 @@
6 # The toplevel directory of the source tree. This is the directory
7 # that contains this "Makefile.in" and the "configure.in" script.
8 #
9-TOP = @srcdir@
10+TOP = $(srcdir)
11+srcdir = @srcdir@
12+top_srcdir = @top_srcdir@
13+top_builddir = .
14
15 # C Compiler and options for use in building executables that
16 # will run on the platform that is doing the build.
17@@ -96,7 +99,7 @@
18 exec_prefix = @exec_prefix@
19 libdir = @libdir@
20 INSTALL = @INSTALL@
21-LIBTOOL = ./libtool
22+LIBTOOL = @LIBTOOL@
23 ALLOWRELEASE = @ALLOWRELEASE@
24
25 # libtool compile/link/install
diff --git a/meta/packages/sqlite/sqlite3.inc b/meta/packages/sqlite/sqlite3.inc
new file mode 100644
index 0000000000..01290c2e41
--- /dev/null
+++ b/meta/packages/sqlite/sqlite3.inc
@@ -0,0 +1,44 @@
1DESCRIPTION = "An Embeddable SQL Database Engine"
2SECTION = "libs"
3PRIORITY = "optional"
4DEPENDS = "readline ncurses"
5LICENSE = "PD"
6
7SRC_URI = "http://www.sqlite.org/sqlite-${PV}.tar.gz \
8 file://cross-compile.patch;patch=1 \
9 file://libtool.patch;patch=1 \
10 file://ldflags.patch;patch=1"
11S = "${WORKDIR}/sqlite-${PV}"
12
13inherit autotools pkgconfig
14
15EXTRA_OECONF = "--disable-tcl --enable-shared \
16 --enable-threadsafe"
17export config_BUILD_CC = "${BUILD_CC}"
18export config_BUILD_CFLAGS = "${BUILD_CFLAGS}"
19export config_BUILD_LIBS = "${BUILD_LDFLAGS}"
20export config_TARGET_CC = "${CC}"
21export config_TARGET_LINK = "${CCLD}"
22export config_TARGET_CFLAGS = "${CFLAGS}"
23export config_TARGET_LFLAGS = "${LDFLAGS}"
24
25do_compile_prepend() {
26 oe_runmake sqlite3.h
27 install -m 0644 sqlite3.h ${STAGING_INCDIR}
28}
29
30do_stage() {
31 oe_libinstall -so libsqlite3 ${STAGING_LIBDIR}
32}
33
34#do_install() {
35# oe_runmake install DESTDIR=${D} prefix=${prefix} exec_prefix=${exec_prefix}
36#}
37
38PACKAGES = "libsqlite libsqlite-dev libsqlite-doc sqlite3 sqlite3-dbg"
39FILES_sqlite3 = "${bindir}/*"
40FILES_libsqlite = "${libdir}/*.so.*"
41FILES_libsqlite-dev = "${libdir}/*.a ${libdir}/*.la ${libdir}/*.so \
42 ${libdir}/pkgconfig ${includedir}"
43FILES_libsqlite-doc = "${docdir} ${mandir} ${infodir}"
44AUTO_LIBNAME_PKGS = "libsqlite"
diff --git a/meta/packages/sqlite/sqlite3_3.3.7.bb b/meta/packages/sqlite/sqlite3_3.3.7.bb
new file mode 100644
index 0000000000..d21fb6ad3e
--- /dev/null
+++ b/meta/packages/sqlite/sqlite3_3.3.7.bb
@@ -0,0 +1,2 @@
1require sqlite3.inc
2PR = "r2"
diff --git a/meta/packages/sync/libsync_svn.bb b/meta/packages/sync/libsync_svn.bb
new file mode 100644
index 0000000000..29d57317a8
--- /dev/null
+++ b/meta/packages/sync/libsync_svn.bb
@@ -0,0 +1,22 @@
1LICENSE = "LGPL"
2SECTION = "x11"
3DEPENDS = "glib-2.0 gtk+ libglade libopensync"
4RRECOMMENDS = "\
5 libopensync-plugin-file-sync \
6 libopensync-plugin-syncml-client-plugin \
7 libopensync-plugin-syncml-plugin \
8 "
9DESCRIPTION = "LibSync is a GObject-based framework for more convenient use of \
10 OpenSync in GLib applications."
11PV = "0.0+svn${SRCDATE}"
12
13SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=sync;proto=http"
14
15inherit autotools pkgconfig
16
17S = "${WORKDIR}/sync"
18
19PACKAGES += "synctool"
20FILES_${PN} = "${libdir}/lib*.so.*"
21FILES_synctool = "${bindir} ${datadir}"
22
diff --git a/meta/packages/wbxml/files/no-doc-install.patch b/meta/packages/wbxml/files/no-doc-install.patch
new file mode 100644
index 0000000000..16084e60e6
--- /dev/null
+++ b/meta/packages/wbxml/files/no-doc-install.patch
@@ -0,0 +1,15 @@
1--- wbxml2-0.9.2/Makefile.am.old 2007-01-03 19:50:24.000000000 +0000
2+++ wbxml2-0.9.2/Makefile.am 2007-01-03 19:50:39.000000000 +0000
3@@ -24,9 +24,9 @@
4 TODO\
5 doxygen.h
6
7-install-data-local:
8- $(mkinstalldirs) $(DESTDIR)$(wbxmldocdir)/manual
9- cp -Rp doc/* $(DESTDIR)$(wbxmldocdir)/manual
10+#install-data-local:
11+# $(mkinstalldirs) $(DESTDIR)$(wbxmldocdir)/manual
12+# cp -Rp doc/* $(DESTDIR)$(wbxmldocdir)/manual
13
14 dist-bz2: distdir
15 sed -e "s/tar.gz/tar.bz2/g" $(distdir)/wbxml2.spec > $(distdir)/wbxml2.spec.aux
diff --git a/meta/packages/wbxml/wbxml2_0.9.2.bb b/meta/packages/wbxml/wbxml2_0.9.2.bb
new file mode 100644
index 0000000000..cb1d733370
--- /dev/null
+++ b/meta/packages/wbxml/wbxml2_0.9.2.bb
@@ -0,0 +1,24 @@
1DESCRIPTION = "parser for wbxml"
2LICENSE = "GPLv2"
3
4DEPENDS = "libxml2 sed-native"
5
6SRC_URI = "${SOURCEFORGE_MIRROR}/wbxmllib/${P}.tar.gz \
7 file://no-doc-install.patch;patch=1"
8
9inherit autotools pkgconfig
10
11do_configure_append() {
12 sed -i s:-I/usr/include::g Makefile
13 sed -i s:-I/usr/include::g */Makefile
14}
15
16do_stage() {
17 autotools_stage_all
18}
19
20PACKAGES += "${PN}-tools"
21
22FILES_${PN}-tools = "${bindir}"
23FILES_${PN} = "${libdir}/*.so.*"
24