summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorJunqian Gordon Xu <xjqian@gmail.com>2008-09-16 17:17:24 +0000
committerJunqian Gordon Xu <xjqian@gmail.com>2008-09-16 17:17:24 +0000
commit34018942665dc27bda7a671c56549e96e728211c (patch)
treee76886c6b658aea5ec4ad4a7253f949b3328f89d /packages
parenta7441008e144f91fecf79273a2118ea806552cf4 (diff)
sqlite: bump to 3.6.2 drop old recipes
Diffstat (limited to 'packages')
-rw-r--r--packages/sqlite/sqlite-2.8.15/.mtn2git_empty0
-rw-r--r--packages/sqlite/sqlite-2.8.15/main.mk444
-rw-r--r--packages/sqlite/sqlite-2.8.16/.mtn2git_empty0
-rw-r--r--packages/sqlite/sqlite-2.8.16/main.mk444
-rw-r--r--packages/sqlite/sqlite-2.8.16/sqlite.pc12
-rw-r--r--packages/sqlite/sqlite-2.8.9/.mtn2git_empty0
-rw-r--r--packages/sqlite/sqlite-2.8.9/crosscompile.patch147
-rw-r--r--packages/sqlite/sqlite3-3.2.2/.mtn2git_empty0
-rw-r--r--packages/sqlite/sqlite3-3.2.2/cross-compile.patch84
-rw-r--r--packages/sqlite/sqlite3-3.2.2/ldflags.patch77
-rw-r--r--packages/sqlite/sqlite3-3.2.5/.mtn2git_empty0
-rw-r--r--packages/sqlite/sqlite3-3.2.5/cross-compile.patch84
-rw-r--r--packages/sqlite/sqlite3-3.2.5/ldflags.patch77
-rw-r--r--packages/sqlite/sqlite3-3.2.7/.mtn2git_empty0
-rw-r--r--packages/sqlite/sqlite3-3.2.7/cross-compile.patch84
-rw-r--r--packages/sqlite/sqlite3-3.2.7/ldflags.patch77
-rw-r--r--packages/sqlite/sqlite3-3.3.12/.mtn2git_empty0
-rw-r--r--packages/sqlite/sqlite3-3.3.12/ldflags.patch70
-rw-r--r--packages/sqlite/sqlite3-3.3.13/.mtn2git_empty0
-rw-r--r--packages/sqlite/sqlite3-3.3.13/ldflags.patch70
-rw-r--r--packages/sqlite/sqlite3-native_3.6.2.bb (renamed from packages/sqlite/sqlite3-native_3.5.6.bb)0
-rw-r--r--packages/sqlite/sqlite3_3.2.2.bb2
-rw-r--r--packages/sqlite/sqlite3_3.2.5.bb2
-rw-r--r--packages/sqlite/sqlite3_3.2.7.bb2
-rw-r--r--packages/sqlite/sqlite3_3.3.12.bb3
-rw-r--r--packages/sqlite/sqlite3_3.3.13.bb3
-rw-r--r--packages/sqlite/sqlite3_3.3.17.bb3
-rw-r--r--packages/sqlite/sqlite3_3.5.6.bb3
-rw-r--r--packages/sqlite/sqlite3_3.6.2.bb (renamed from packages/sqlite/sqlite3_3.4.1.bb)2
-rw-r--r--packages/sqlite/sqlite_2.8.15.bb56
-rw-r--r--packages/sqlite/sqlite_2.8.16.bb59
-rw-r--r--packages/sqlite/sqlite_2.8.9.bb39
32 files changed, 1 insertions, 1843 deletions
diff --git a/packages/sqlite/sqlite-2.8.15/.mtn2git_empty b/packages/sqlite/sqlite-2.8.15/.mtn2git_empty
deleted file mode 100644
index e69de29bb2..0000000000
--- a/packages/sqlite/sqlite-2.8.15/.mtn2git_empty
+++ /dev/null
diff --git a/packages/sqlite/sqlite-2.8.15/main.mk b/packages/sqlite/sqlite-2.8.15/main.mk
deleted file mode 100644
index 522749bc9f..0000000000
--- a/packages/sqlite/sqlite-2.8.15/main.mk
+++ /dev/null
@@ -1,444 +0,0 @@
-###############################################################################
-# The following macros should be defined before this script is
-# invoked:
-#
-# TOP The toplevel directory of the source tree. This is the
-# directory that contains this "Makefile.in" and the
-# "configure.in" script.
-#
-# BCC C Compiler and options for use in building executables that
-# will run on the platform that is doing the build.
-#
-# USLEEP If the target operating system supports the "usleep()" system
-# call, then define the HAVE_USLEEP macro for all C modules.
-#
-# THREADSAFE If you want the SQLite library to be safe for use within a
-# multi-threaded program, then define the following macro
-# appropriately:
-#
-# THREADLIB Specify any extra linker options needed to make the library
-# thread safe
-#
-# OPTS Extra compiler command-line options.
-#
-# EXE The suffix to add to executable files. ".exe" for windows
-# and "" for Unix.
-#
-# TCC C Compiler and options for use in building executables that
-# will run on the target platform. This is usually the same
-# as BCC, unless you are cross-compiling.
-#
-# AR Tools used to build a static library.
-# RANLIB
-#
-# TCL_FLAGS Extra compiler options needed for programs that use the
-# TCL library.
-#
-# LIBTCL Linker options needed to link against the TCL library.
-#
-# READLINE_FLAGS Compiler options needed for programs that use the
-# readline() library.
-#
-# LIBREADLINE Linker options needed by programs using readline() must
-# link against.
-#
-# ENCODING "UTF8" or "ISO8859"
-#
-# Once the macros above are defined, the rest of this make script will
-# build the SQLite library and testing tools.
-################################################################################
-
-# This is how we compile
-#
-TCCX = $(TCC) $(OPTS) $(THREADSAFE) $(USLEEP) -I. -I$(TOP)/src
-
-# Object files for the SQLite library.
-#
-LIBOBJ = attach.o auth.o btree.o btree_rb.o build.o copy.o date.o delete.o \
- expr.o func.o hash.o insert.o \
- main.o opcodes.o os.o pager.o parse.o pragma.o printf.o random.o \
- select.o table.o tokenize.o trigger.o update.o util.o \
- vacuum.o vdbe.o vdbeaux.o where.o
-
-# All of the source code files.
-#
-SRC = \
- $(TOP)/src/attach.c \
- $(TOP)/src/auth.c \
- $(TOP)/src/btree.c \
- $(TOP)/src/btree.h \
- $(TOP)/src/btree_rb.c \
- $(TOP)/src/build.c \
- $(TOP)/src/copy.c \
- $(TOP)/src/date.c \
- $(TOP)/src/delete.c \
- $(TOP)/src/encode.c \
- $(TOP)/src/expr.c \
- $(TOP)/src/func.c \
- $(TOP)/src/hash.c \
- $(TOP)/src/hash.h \
- $(TOP)/src/insert.c \
- $(TOP)/src/main.c \
- $(TOP)/src/os.c \
- $(TOP)/src/pager.c \
- $(TOP)/src/pager.h \
- $(TOP)/src/parse.y \
- $(TOP)/src/pragma.c \
- $(TOP)/src/printf.c \
- $(TOP)/src/random.c \
- $(TOP)/src/select.c \
- $(TOP)/src/shell.c \
- $(TOP)/src/sqlite.h.in \
- $(TOP)/src/sqliteInt.h \
- $(TOP)/src/table.c \
- $(TOP)/src/tokenize.c \
- $(TOP)/src/trigger.c \
- $(TOP)/src/update.c \
- $(TOP)/src/util.c \
- $(TOP)/src/vacuum.c \
- $(TOP)/src/vdbe.c \
- $(TOP)/src/vdbe.h \
- $(TOP)/src/vdbeaux.c \
- $(TOP)/src/vdbeInt.h \
- $(TOP)/src/where.c
-
-# Source code to the test files.
-#
-TESTSRC = \
- $(TOP)/src/btree.c \
- $(TOP)/src/func.c \
- $(TOP)/src/os.c \
- $(TOP)/src/pager.c \
- $(TOP)/src/test1.c \
- $(TOP)/src/test2.c \
- $(TOP)/src/test3.c \
- $(TOP)/src/test4.c \
- $(TOP)/src/vdbe.c \
- $(TOP)/src/md5.c
-
-# Header files used by all library source files.
-#
-HDR = \
- sqlite.h \
- $(TOP)/src/btree.h \
- config.h \
- $(TOP)/src/hash.h \
- opcodes.h \
- $(TOP)/src/os.h \
- $(TOP)/src/sqliteInt.h \
- $(TOP)/src/vdbe.h \
- parse.h
-
-# Header files used by the VDBE submodule
-#
-VDBEHDR = \
- $(HDR) \
- $(TOP)/src/vdbeInt.h
-
-# This is the default Makefile target. The objects listed here
-# are what get build when you type just "make" with no arguments.
-#
-all: sqlite.h config.h libsqlite.so sqlite$(EXE)
-
-# Generate the file "last_change" which contains the date of change
-# of the most recently modified source code file
-#
-last_change: $(SRC)
- cat $(SRC) | grep '$$Id: ' | sort +4 | tail -1 \
- | awk '{print $$5,$$6}' >last_change
-
-libsqlite.so: $(LIBOBJ)
- $(CC) -shared -o libsqlite.so -Wl,-soname,libsqlite.so.0 $(LIBOBJ)
-
-sqlite$(EXE): $(TOP)/src/shell.c libsqlite.so sqlite.h
- $(TCCX) $(READLINE_FLAGS) -o sqlite$(EXE) $(TOP)/src/shell.c \
- -lsqlite $(LIBREADLINE) $(THREADLIB)
-
-sqlite_analyzer$(EXE): $(TOP)/src/tclsqlite.c libsqlite.a $(TESTSRC) \
- $(TOP)/tool/spaceanal.tcl
- sed \
- -e '/^#/d' \
- -e 's,\\,\\\\,g' \
- -e 's,",\\",g' \
- -e 's,^,",' \
- -e 's,$$,\\n",' \
- $(TOP)/tool/spaceanal.tcl >spaceanal_tcl.h
- $(TCCX) $(TCL_FLAGS) -DTCLSH=2 -DSQLITE_TEST=1 -static -o \
- sqlite_analyzer$(EXE) $(TESTSRC) $(TOP)/src/tclsqlite.c \
- libsqlite.a $(LIBTCL)
-
-
-# This target creates a directory named "tsrc" and fills it with
-# copies of all of the C source code and header files needed to
-# build on the target system. Some of the C source code and header
-# files are automatically generated. This target takes care of
-# all that automatic generation.
-#
-target_source: $(SRC) $(VDBEHDR) opcodes.c
- rm -rf tsrc
- mkdir tsrc
- cp $(SRC) $(VDBEHDR) tsrc
- rm tsrc/sqlite.h.in tsrc/parse.y
- cp parse.c opcodes.c tsrc
-
-# Rules to build the LEMON compiler generator
-#
-lemon: $(TOP)/tool/lemon.c $(TOP)/tool/lempar.c
- $(BCC) -o lemon $(TOP)/tool/lemon.c
- cp $(TOP)/tool/lempar.c .
-
-btree.o: $(TOP)/src/btree.c $(HDR) $(TOP)/src/pager.h
- $(TCCX) -c $(TOP)/src/btree.c
-
-btree_rb.o: $(TOP)/src/btree_rb.c $(HDR)
- $(TCCX) -c $(TOP)/src/btree_rb.c
-
-build.o: $(TOP)/src/build.c $(HDR)
- $(TCCX) -c $(TOP)/src/build.c
-
-main.o: $(TOP)/src/main.c $(HDR)
- $(TCCX) -c $(TOP)/src/main.c
-
-pager.o: $(TOP)/src/pager.c $(HDR) $(TOP)/src/pager.h
- $(TCCX) -c $(TOP)/src/pager.c
-
-opcodes.o: opcodes.c
- $(TCCX) -c opcodes.c
-
-opcodes.c: $(TOP)/src/vdbe.c
- echo '/* Automatically generated file. Do not edit */' >opcodes.c
- echo 'char *sqliteOpcodeNames[] = { "???", ' >>opcodes.c
- grep '^case OP_' $(TOP)/src/vdbe.c | \
- sed -e 's/^.*OP_/ "/' -e 's/:.*$$/", /' >>opcodes.c
- echo '};' >>opcodes.c
-
-opcodes.h: $(TOP)/src/vdbe.h
- echo '/* Automatically generated file. Do not edit */' >opcodes.h
- grep '^case OP_' $(TOP)/src/vdbe.c | \
- sed -e 's/://' | \
- awk '{printf "#define %-30s %3d\n", $$2, ++cnt}' >>opcodes.h
-
-os.o: $(TOP)/src/os.c $(HDR)
- $(TCCX) -c $(TOP)/src/os.c
-
-parse.o: parse.c $(HDR)
- $(TCCX) -c parse.c
-
-parse.h: parse.c
-
-parse.c: $(TOP)/src/parse.y lemon
- cp $(TOP)/src/parse.y .
- ./lemon parse.y
-
-# The config.h file will contain a single #define that tells us how
-# many bytes are in a pointer. This only works if a pointer is the
-# same size on the host as it is on the target. If you are cross-compiling
-# to a target with a different pointer size, you'll need to manually
-# configure the config.h file.
-#
-config.h:
- echo '#include <stdio.h>' >temp.c
- echo 'int main(){printf(' >>temp.c
- echo '"#define SQLITE_PTR_SZ %d",sizeof(char*));' >>temp.c
- echo 'exit(0);}' >>temp.c
- $(BCC) -o temp temp.c
- ./temp >config.h
- echo >>config.h
- rm -f temp.c temp
-
-sqlite.h: $(TOP)/src/sqlite.h.in
- sed -e s/--VERS--/`cat ${TOP}/VERSION`/ \
- -e s/--ENCODING--/$(ENCODING)/ \
- $(TOP)/src/sqlite.h.in >sqlite.h
-
-tokenize.o: $(TOP)/src/tokenize.c $(HDR)
- $(TCCX) -c $(TOP)/src/tokenize.c
-
-trigger.o: $(TOP)/src/trigger.c $(HDR)
- $(TCCX) -c $(TOP)/src/trigger.c
-
-util.o: $(TOP)/src/util.c $(HDR)
- $(TCCX) -c $(TOP)/src/util.c
-
-vacuum.o: $(TOP)/src/vacuum.c $(HDR)
- $(TCCX) -c $(TOP)/src/vacuum.c
-
-vdbe.o: $(TOP)/src/vdbe.c $(VDBEHDR)
- $(TCCX) -c $(TOP)/src/vdbe.c
-
-vdbeaux.o: $(TOP)/src/vdbeaux.c $(VDBEHDR)
- $(TCCX) -c $(TOP)/src/vdbeaux.c
-
-where.o: $(TOP)/src/where.c $(HDR)
- $(TCCX) -c $(TOP)/src/where.c
-
-copy.o: $(TOP)/src/copy.c $(HDR)
- $(TCCX) -c $(TOP)/src/copy.c
-
-date.o: $(TOP)/src/date.c $(HDR)
- $(TCCX) -c $(TOP)/src/date.c
-
-delete.o: $(TOP)/src/delete.c $(HDR)
- $(TCCX) -c $(TOP)/src/delete.c
-
-encode.o: $(TOP)/src/encode.c
- $(TCCX) -c $(TOP)/src/encode.c
-
-expr.o: $(TOP)/src/expr.c $(HDR)
- $(TCCX) -c $(TOP)/src/expr.c
-
-func.o: $(TOP)/src/func.c $(HDR)
- $(TCCX) -c $(TOP)/src/func.c
-
-hash.o: $(TOP)/src/hash.c $(HDR)
- $(TCCX) -c $(TOP)/src/hash.c
-
-insert.o: $(TOP)/src/insert.c $(HDR)
- $(TCCX) -c $(TOP)/src/insert.c
-
-random.o: $(TOP)/src/random.c $(HDR)
- $(TCCX) -c $(TOP)/src/random.c
-
-select.o: $(TOP)/src/select.c $(HDR)
- $(TCCX) -c $(TOP)/src/select.c
-
-table.o: $(TOP)/src/table.c $(HDR)
- $(TCCX) -c $(TOP)/src/table.c
-
-update.o: $(TOP)/src/update.c $(HDR)
- $(TCCX) -c $(TOP)/src/update.c
-
-tclsqlite.o: $(TOP)/src/tclsqlite.c $(HDR)
- $(TCCX) $(TCL_FLAGS) -c $(TOP)/src/tclsqlite.c
-
-pragma.o: $(TOP)/src/pragma.c $(HDR)
- $(TCCX) $(TCL_FLAGS) -c $(TOP)/src/pragma.c
-
-printf.o: $(TOP)/src/printf.c $(HDR)
- $(TCCX) $(TCL_FLAGS) -c $(TOP)/src/printf.c
-
-attach.o: $(TOP)/src/attach.c $(HDR)
- $(TCCX) -c $(TOP)/src/attach.c
-
-auth.o: $(TOP)/src/auth.c $(HDR)
- $(TCCX) -c $(TOP)/src/auth.c
-
-tclsqlite: $(TOP)/src/tclsqlite.c libsqlite.a
- $(TCCX) $(TCL_FLAGS) -DTCLSH=1 -o tclsqlite \
- $(TOP)/src/tclsqlite.c libsqlite.a $(LIBTCL)
-
-testfixture$(EXE): $(TOP)/src/tclsqlite.c libsqlite.a $(TESTSRC)
- $(TCCX) $(TCL_FLAGS) -DTCLSH=1 -DSQLITE_TEST=1 -o testfixture$(EXE) \
- $(TESTSRC) $(TOP)/src/tclsqlite.c \
- libsqlite.a $(LIBTCL) $(THREADLIB)
-
-fulltest: testfixture$(EXE) sqlite$(EXE)
- ./testfixture$(EXE) $(TOP)/test/all.test
-
-test: testfixture$(EXE) sqlite$(EXE)
- ./testfixture$(EXE) $(TOP)/test/quick.test
-
-index.html: $(TOP)/www/index.tcl last_change
- tclsh $(TOP)/www/index.tcl `cat $(TOP)/VERSION` >index.html
-
-sqlite.html: $(TOP)/www/sqlite.tcl
- tclsh $(TOP)/www/sqlite.tcl >sqlite.html
-
-c_interface.html: $(TOP)/www/c_interface.tcl
- tclsh $(TOP)/www/c_interface.tcl >c_interface.html
-
-changes.html: $(TOP)/www/changes.tcl
- tclsh $(TOP)/www/changes.tcl >changes.html
-
-lang.html: $(TOP)/www/lang.tcl
- tclsh $(TOP)/www/lang.tcl >lang.html
-
-vdbe.html: $(TOP)/www/vdbe.tcl
- tclsh $(TOP)/www/vdbe.tcl >vdbe.html
-
-arch.html: $(TOP)/www/arch.tcl
- tclsh $(TOP)/www/arch.tcl >arch.html
-
-arch.png: $(TOP)/www/arch.png
- cp $(TOP)/www/arch.png .
-
-opcode.html: $(TOP)/www/opcode.tcl $(TOP)/src/vdbe.c
- tclsh $(TOP)/www/opcode.tcl $(TOP)/src/vdbe.c >opcode.html
-
-mingw.html: $(TOP)/www/mingw.tcl
- tclsh $(TOP)/www/mingw.tcl >mingw.html
-
-tclsqlite.html: $(TOP)/www/tclsqlite.tcl
- tclsh $(TOP)/www/tclsqlite.tcl >tclsqlite.html
-
-speed.html: $(TOP)/www/speed.tcl
- tclsh $(TOP)/www/speed.tcl >speed.html
-
-faq.html: $(TOP)/www/faq.tcl
- tclsh $(TOP)/www/faq.tcl >faq.html
-
-formatchng.html: $(TOP)/www/formatchng.tcl
- tclsh $(TOP)/www/formatchng.tcl >formatchng.html
-
-conflict.html: $(TOP)/www/conflict.tcl
- tclsh $(TOP)/www/conflict.tcl >conflict.html
-
-download.html: $(TOP)/www/download.tcl
- tclsh $(TOP)/www/download.tcl >download.html
-
-omitted.html: $(TOP)/www/omitted.tcl
- tclsh $(TOP)/www/omitted.tcl >omitted.html
-
-datatypes.html: $(TOP)/www/datatypes.tcl
- tclsh $(TOP)/www/datatypes.tcl >datatypes.html
-
-quickstart.html: $(TOP)/www/quickstart.tcl
- tclsh $(TOP)/www/quickstart.tcl >quickstart.html
-
-fileformat.html: $(TOP)/www/fileformat.tcl
- tclsh $(TOP)/www/fileformat.tcl >fileformat.html
-
-nulls.html: $(TOP)/www/nulls.tcl
- tclsh $(TOP)/www/nulls.tcl >nulls.html
-
-
-# Files to be published on the website.
-#
-DOC = \
- index.html \
- sqlite.html \
- changes.html \
- lang.html \
- opcode.html \
- arch.html \
- arch.png \
- vdbe.html \
- c_interface.html \
- mingw.html \
- tclsqlite.html \
- download.html \
- speed.html \
- faq.html \
- formatchng.html \
- conflict.html \
- omitted.html \
- datatypes.html \
- quickstart.html \
- fileformat.html \
- nulls.html
-
-doc: $(DOC)
- mkdir -p doc
- mv $(DOC) doc
-
-install: sqlite libsqlite.a sqlite.h
- mv sqlite /usr/bin
- mv libsqlite.a /usr/lib
- mv sqlite.h /usr/include
-
-clean:
- rm -f *.o sqlite libsqlite.a sqlite.h opcodes.*
- rm -f lemon lempar.c parse.* sqlite*.tar.gz
- rm -f $(PUBLISH)
- rm -f *.da *.bb *.bbg gmon.out
- rm -rf tsrc
diff --git a/packages/sqlite/sqlite-2.8.16/.mtn2git_empty b/packages/sqlite/sqlite-2.8.16/.mtn2git_empty
deleted file mode 100644
index e69de29bb2..0000000000
--- a/packages/sqlite/sqlite-2.8.16/.mtn2git_empty
+++ /dev/null
diff --git a/packages/sqlite/sqlite-2.8.16/main.mk b/packages/sqlite/sqlite-2.8.16/main.mk
deleted file mode 100644
index 522749bc9f..0000000000
--- a/packages/sqlite/sqlite-2.8.16/main.mk
+++ /dev/null
@@ -1,444 +0,0 @@
-###############################################################################
-# The following macros should be defined before this script is
-# invoked:
-#
-# TOP The toplevel directory of the source tree. This is the
-# directory that contains this "Makefile.in" and the
-# "configure.in" script.
-#
-# BCC C Compiler and options for use in building executables that
-# will run on the platform that is doing the build.
-#
-# USLEEP If the target operating system supports the "usleep()" system
-# call, then define the HAVE_USLEEP macro for all C modules.
-#
-# THREADSAFE If you want the SQLite library to be safe for use within a
-# multi-threaded program, then define the following macro
-# appropriately:
-#
-# THREADLIB Specify any extra linker options needed to make the library
-# thread safe
-#
-# OPTS Extra compiler command-line options.
-#
-# EXE The suffix to add to executable files. ".exe" for windows
-# and "" for Unix.
-#
-# TCC C Compiler and options for use in building executables that
-# will run on the target platform. This is usually the same
-# as BCC, unless you are cross-compiling.
-#
-# AR Tools used to build a static library.
-# RANLIB
-#
-# TCL_FLAGS Extra compiler options needed for programs that use the
-# TCL library.
-#
-# LIBTCL Linker options needed to link against the TCL library.
-#
-# READLINE_FLAGS Compiler options needed for programs that use the
-# readline() library.
-#
-# LIBREADLINE Linker options needed by programs using readline() must
-# link against.
-#
-# ENCODING "UTF8" or "ISO8859"
-#
-# Once the macros above are defined, the rest of this make script will
-# build the SQLite library and testing tools.
-################################################################################
-
-# This is how we compile
-#
-TCCX = $(TCC) $(OPTS) $(THREADSAFE) $(USLEEP) -I. -I$(TOP)/src
-
-# Object files for the SQLite library.
-#
-LIBOBJ = attach.o auth.o btree.o btree_rb.o build.o copy.o date.o delete.o \
- expr.o func.o hash.o insert.o \
- main.o opcodes.o os.o pager.o parse.o pragma.o printf.o random.o \
- select.o table.o tokenize.o trigger.o update.o util.o \
- vacuum.o vdbe.o vdbeaux.o where.o
-
-# All of the source code files.
-#
-SRC = \
- $(TOP)/src/attach.c \
- $(TOP)/src/auth.c \
- $(TOP)/src/btree.c \
- $(TOP)/src/btree.h \
- $(TOP)/src/btree_rb.c \
- $(TOP)/src/build.c \
- $(TOP)/src/copy.c \
- $(TOP)/src/date.c \
- $(TOP)/src/delete.c \
- $(TOP)/src/encode.c \
- $(TOP)/src/expr.c \
- $(TOP)/src/func.c \
- $(TOP)/src/hash.c \
- $(TOP)/src/hash.h \
- $(TOP)/src/insert.c \
- $(TOP)/src/main.c \
- $(TOP)/src/os.c \
- $(TOP)/src/pager.c \
- $(TOP)/src/pager.h \
- $(TOP)/src/parse.y \
- $(TOP)/src/pragma.c \
- $(TOP)/src/printf.c \
- $(TOP)/src/random.c \
- $(TOP)/src/select.c \
- $(TOP)/src/shell.c \
- $(TOP)/src/sqlite.h.in \
- $(TOP)/src/sqliteInt.h \
- $(TOP)/src/table.c \
- $(TOP)/src/tokenize.c \
- $(TOP)/src/trigger.c \
- $(TOP)/src/update.c \
- $(TOP)/src/util.c \
- $(TOP)/src/vacuum.c \
- $(TOP)/src/vdbe.c \
- $(TOP)/src/vdbe.h \
- $(TOP)/src/vdbeaux.c \
- $(TOP)/src/vdbeInt.h \
- $(TOP)/src/where.c
-
-# Source code to the test files.
-#
-TESTSRC = \
- $(TOP)/src/btree.c \
- $(TOP)/src/func.c \
- $(TOP)/src/os.c \
- $(TOP)/src/pager.c \
- $(TOP)/src/test1.c \
- $(TOP)/src/test2.c \
- $(TOP)/src/test3.c \
- $(TOP)/src/test4.c \
- $(TOP)/src/vdbe.c \
- $(TOP)/src/md5.c
-
-# Header files used by all library source files.
-#
-HDR = \
- sqlite.h \
- $(TOP)/src/btree.h \
- config.h \
- $(TOP)/src/hash.h \
- opcodes.h \
- $(TOP)/src/os.h \
- $(TOP)/src/sqliteInt.h \
- $(TOP)/src/vdbe.h \
- parse.h
-
-# Header files used by the VDBE submodule
-#
-VDBEHDR = \
- $(HDR) \
- $(TOP)/src/vdbeInt.h
-
-# This is the default Makefile target. The objects listed here
-# are what get build when you type just "make" with no arguments.
-#
-all: sqlite.h config.h libsqlite.so sqlite$(EXE)
-
-# Generate the file "last_change" which contains the date of change
-# of the most recently modified source code file
-#
-last_change: $(SRC)
- cat $(SRC) | grep '$$Id: ' | sort +4 | tail -1 \
- | awk '{print $$5,$$6}' >last_change
-
-libsqlite.so: $(LIBOBJ)
- $(CC) -shared -o libsqlite.so -Wl,-soname,libsqlite.so.0 $(LIBOBJ)
-
-sqlite$(EXE): $(TOP)/src/shell.c libsqlite.so sqlite.h
- $(TCCX) $(READLINE_FLAGS) -o sqlite$(EXE) $(TOP)/src/shell.c \
- -lsqlite $(LIBREADLINE) $(THREADLIB)
-
-sqlite_analyzer$(EXE): $(TOP)/src/tclsqlite.c libsqlite.a $(TESTSRC) \
- $(TOP)/tool/spaceanal.tcl
- sed \
- -e '/^#/d' \
- -e 's,\\,\\\\,g' \
- -e 's,",\\",g' \
- -e 's,^,",' \
- -e 's,$$,\\n",' \
- $(TOP)/tool/spaceanal.tcl >spaceanal_tcl.h
- $(TCCX) $(TCL_FLAGS) -DTCLSH=2 -DSQLITE_TEST=1 -static -o \
- sqlite_analyzer$(EXE) $(TESTSRC) $(TOP)/src/tclsqlite.c \
- libsqlite.a $(LIBTCL)
-
-
-# This target creates a directory named "tsrc" and fills it with
-# copies of all of the C source code and header files needed to
-# build on the target system. Some of the C source code and header
-# files are automatically generated. This target takes care of
-# all that automatic generation.
-#
-target_source: $(SRC) $(VDBEHDR) opcodes.c
- rm -rf tsrc
- mkdir tsrc
- cp $(SRC) $(VDBEHDR) tsrc
- rm tsrc/sqlite.h.in tsrc/parse.y
- cp parse.c opcodes.c tsrc
-
-# Rules to build the LEMON compiler generator
-#
-lemon: $(TOP)/tool/lemon.c $(TOP)/tool/lempar.c
- $(BCC) -o lemon $(TOP)/tool/lemon.c
- cp $(TOP)/tool/lempar.c .
-
-btree.o: $(TOP)/src/btree.c $(HDR) $(TOP)/src/pager.h
- $(TCCX) -c $(TOP)/src/btree.c
-
-btree_rb.o: $(TOP)/src/btree_rb.c $(HDR)
- $(TCCX) -c $(TOP)/src/btree_rb.c
-
-build.o: $(TOP)/src/build.c $(HDR)
- $(TCCX) -c $(TOP)/src/build.c
-
-main.o: $(TOP)/src/main.c $(HDR)
- $(TCCX) -c $(TOP)/src/main.c
-
-pager.o: $(TOP)/src/pager.c $(HDR) $(TOP)/src/pager.h
- $(TCCX) -c $(TOP)/src/pager.c
-
-opcodes.o: opcodes.c
- $(TCCX) -c opcodes.c
-
-opcodes.c: $(TOP)/src/vdbe.c
- echo '/* Automatically generated file. Do not edit */' >opcodes.c
- echo 'char *sqliteOpcodeNames[] = { "???", ' >>opcodes.c
- grep '^case OP_' $(TOP)/src/vdbe.c | \
- sed -e 's/^.*OP_/ "/' -e 's/:.*$$/", /' >>opcodes.c
- echo '};' >>opcodes.c
-
-opcodes.h: $(TOP)/src/vdbe.h
- echo '/* Automatically generated file. Do not edit */' >opcodes.h
- grep '^case OP_' $(TOP)/src/vdbe.c | \
- sed -e 's/://' | \
- awk '{printf "#define %-30s %3d\n", $$2, ++cnt}' >>opcodes.h
-
-os.o: $(TOP)/src/os.c $(HDR)
- $(TCCX) -c $(TOP)/src/os.c
-
-parse.o: parse.c $(HDR)
- $(TCCX) -c parse.c
-
-parse.h: parse.c
-
-parse.c: $(TOP)/src/parse.y lemon
- cp $(TOP)/src/parse.y .
- ./lemon parse.y
-
-# The config.h file will contain a single #define that tells us how
-# many bytes are in a pointer. This only works if a pointer is the
-# same size on the host as it is on the target. If you are cross-compiling
-# to a target with a different pointer size, you'll need to manually
-# configure the config.h file.
-#
-config.h:
- echo '#include <stdio.h>' >temp.c
- echo 'int main(){printf(' >>temp.c
- echo '"#define SQLITE_PTR_SZ %d",sizeof(char*));' >>temp.c
- echo 'exit(0);}' >>temp.c
- $(BCC) -o temp temp.c
- ./temp >config.h
- echo >>config.h
- rm -f temp.c temp
-
-sqlite.h: $(TOP)/src/sqlite.h.in
- sed -e s/--VERS--/`cat ${TOP}/VERSION`/ \
- -e s/--ENCODING--/$(ENCODING)/ \
- $(TOP)/src/sqlite.h.in >sqlite.h
-
-tokenize.o: $(TOP)/src/tokenize.c $(HDR)
- $(TCCX) -c $(TOP)/src/tokenize.c
-
-trigger.o: $(TOP)/src/trigger.c $(HDR)
- $(TCCX) -c $(TOP)/src/trigger.c
-
-util.o: $(TOP)/src/util.c $(HDR)
- $(TCCX) -c $(TOP)/src/util.c
-
-vacuum.o: $(TOP)/src/vacuum.c $(HDR)
- $(TCCX) -c $(TOP)/src/vacuum.c
-
-vdbe.o: $(TOP)/src/vdbe.c $(VDBEHDR)
- $(TCCX) -c $(TOP)/src/vdbe.c
-
-vdbeaux.o: $(TOP)/src/vdbeaux.c $(VDBEHDR)
- $(TCCX) -c $(TOP)/src/vdbeaux.c
-
-where.o: $(TOP)/src/where.c $(HDR)
- $(TCCX) -c $(TOP)/src/where.c
-
-copy.o: $(TOP)/src/copy.c $(HDR)
- $(TCCX) -c $(TOP)/src/copy.c
-
-date.o: $(TOP)/src/date.c $(HDR)
- $(TCCX) -c $(TOP)/src/date.c
-
-delete.o: $(TOP)/src/delete.c $(HDR)
- $(TCCX) -c $(TOP)/src/delete.c
-
-encode.o: $(TOP)/src/encode.c
- $(TCCX) -c $(TOP)/src/encode.c
-
-expr.o: $(TOP)/src/expr.c $(HDR)
- $(TCCX) -c $(TOP)/src/expr.c
-
-func.o: $(TOP)/src/func.c $(HDR)
- $(TCCX) -c $(TOP)/src/func.c
-
-hash.o: $(TOP)/src/hash.c $(HDR)
- $(TCCX) -c $(TOP)/src/hash.c
-
-insert.o: $(TOP)/src/insert.c $(HDR)
- $(TCCX) -c $(TOP)/src/insert.c
-
-random.o: $(TOP)/src/random.c $(HDR)
- $(TCCX) -c $(TOP)/src/random.c
-
-select.o: $(TOP)/src/select.c $(HDR)
- $(TCCX) -c $(TOP)/src/select.c
-
-table.o: $(TOP)/src/table.c $(HDR)
- $(TCCX) -c $(TOP)/src/table.c
-
-update.o: $(TOP)/src/update.c $(HDR)
- $(TCCX) -c $(TOP)/src/update.c
-
-tclsqlite.o: $(TOP)/src/tclsqlite.c $(HDR)
- $(TCCX) $(TCL_FLAGS) -c $(TOP)/src/tclsqlite.c
-
-pragma.o: $(TOP)/src/pragma.c $(HDR)
- $(TCCX) $(TCL_FLAGS) -c $(TOP)/src/pragma.c
-
-printf.o: $(TOP)/src/printf.c $(HDR)
- $(TCCX) $(TCL_FLAGS) -c $(TOP)/src/printf.c
-
-attach.o: $(TOP)/src/attach.c $(HDR)
- $(TCCX) -c $(TOP)/src/attach.c
-
-auth.o: $(TOP)/src/auth.c $(HDR)
- $(TCCX) -c $(TOP)/src/auth.c
-
-tclsqlite: $(TOP)/src/tclsqlite.c libsqlite.a
- $(TCCX) $(TCL_FLAGS) -DTCLSH=1 -o tclsqlite \
- $(TOP)/src/tclsqlite.c libsqlite.a $(LIBTCL)
-
-testfixture$(EXE): $(TOP)/src/tclsqlite.c libsqlite.a $(TESTSRC)
- $(TCCX) $(TCL_FLAGS) -DTCLSH=1 -DSQLITE_TEST=1 -o testfixture$(EXE) \
- $(TESTSRC) $(TOP)/src/tclsqlite.c \
- libsqlite.a $(LIBTCL) $(THREADLIB)
-
-fulltest: testfixture$(EXE) sqlite$(EXE)
- ./testfixture$(EXE) $(TOP)/test/all.test
-
-test: testfixture$(EXE) sqlite$(EXE)
- ./testfixture$(EXE) $(TOP)/test/quick.test
-
-index.html: $(TOP)/www/index.tcl last_change
- tclsh $(TOP)/www/index.tcl `cat $(TOP)/VERSION` >index.html
-
-sqlite.html: $(TOP)/www/sqlite.tcl
- tclsh $(TOP)/www/sqlite.tcl >sqlite.html
-
-c_interface.html: $(TOP)/www/c_interface.tcl
- tclsh $(TOP)/www/c_interface.tcl >c_interface.html
-
-changes.html: $(TOP)/www/changes.tcl
- tclsh $(TOP)/www/changes.tcl >changes.html
-
-lang.html: $(TOP)/www/lang.tcl
- tclsh $(TOP)/www/lang.tcl >lang.html
-
-vdbe.html: $(TOP)/www/vdbe.tcl
- tclsh $(TOP)/www/vdbe.tcl >vdbe.html
-
-arch.html: $(TOP)/www/arch.tcl
- tclsh $(TOP)/www/arch.tcl >arch.html
-
-arch.png: $(TOP)/www/arch.png
- cp $(TOP)/www/arch.png .
-
-opcode.html: $(TOP)/www/opcode.tcl $(TOP)/src/vdbe.c
- tclsh $(TOP)/www/opcode.tcl $(TOP)/src/vdbe.c >opcode.html
-
-mingw.html: $(TOP)/www/mingw.tcl
- tclsh $(TOP)/www/mingw.tcl >mingw.html
-
-tclsqlite.html: $(TOP)/www/tclsqlite.tcl
- tclsh $(TOP)/www/tclsqlite.tcl >tclsqlite.html
-
-speed.html: $(TOP)/www/speed.tcl
- tclsh $(TOP)/www/speed.tcl >speed.html
-
-faq.html: $(TOP)/www/faq.tcl
- tclsh $(TOP)/www/faq.tcl >faq.html
-
-formatchng.html: $(TOP)/www/formatchng.tcl
- tclsh $(TOP)/www/formatchng.tcl >formatchng.html
-
-conflict.html: $(TOP)/www/conflict.tcl
- tclsh $(TOP)/www/conflict.tcl >conflict.html
-
-download.html: $(TOP)/www/download.tcl
- tclsh $(TOP)/www/download.tcl >download.html
-
-omitted.html: $(TOP)/www/omitted.tcl
- tclsh $(TOP)/www/omitted.tcl >omitted.html
-
-datatypes.html: $(TOP)/www/datatypes.tcl
- tclsh $(TOP)/www/datatypes.tcl >datatypes.html
-
-quickstart.html: $(TOP)/www/quickstart.tcl
- tclsh $(TOP)/www/quickstart.tcl >quickstart.html
-
-fileformat.html: $(TOP)/www/fileformat.tcl
- tclsh $(TOP)/www/fileformat.tcl >fileformat.html
-
-nulls.html: $(TOP)/www/nulls.tcl
- tclsh $(TOP)/www/nulls.tcl >nulls.html
-
-
-# Files to be published on the website.
-#
-DOC = \
- index.html \
- sqlite.html \
- changes.html \
- lang.html \
- opcode.html \
- arch.html \
- arch.png \
- vdbe.html \
- c_interface.html \
- mingw.html \
- tclsqlite.html \
- download.html \
- speed.html \
- faq.html \
- formatchng.html \
- conflict.html \
- omitted.html \
- datatypes.html \
- quickstart.html \
- fileformat.html \
- nulls.html
-
-doc: $(DOC)
- mkdir -p doc
- mv $(DOC) doc
-
-install: sqlite libsqlite.a sqlite.h
- mv sqlite /usr/bin
- mv libsqlite.a /usr/lib
- mv sqlite.h /usr/include
-
-clean:
- rm -f *.o sqlite libsqlite.a sqlite.h opcodes.*
- rm -f lemon lempar.c parse.* sqlite*.tar.gz
- rm -f $(PUBLISH)
- rm -f *.da *.bb *.bbg gmon.out
- rm -rf tsrc
diff --git a/packages/sqlite/sqlite-2.8.16/sqlite.pc b/packages/sqlite/sqlite-2.8.16/sqlite.pc
deleted file mode 100644
index 5801dcab5c..0000000000
--- a/packages/sqlite/sqlite-2.8.16/sqlite.pc
+++ /dev/null
@@ -1,12 +0,0 @@
-# Package Information for pkg-config
-
-prefix=/usr
-exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
-includedir=${prefix}/include
-
-Name: SQLite
-Description: SQL database engine
-Version: 2.8.16
-Libs: -L${libdir} -lsqlite
-Cflags: -I${includedir}
diff --git a/packages/sqlite/sqlite-2.8.9/.mtn2git_empty b/packages/sqlite/sqlite-2.8.9/.mtn2git_empty
deleted file mode 100644
index e69de29bb2..0000000000
--- a/packages/sqlite/sqlite-2.8.9/.mtn2git_empty
+++ /dev/null
diff --git a/packages/sqlite/sqlite-2.8.9/crosscompile.patch b/packages/sqlite/sqlite-2.8.9/crosscompile.patch
deleted file mode 100644
index 8c334a78e8..0000000000
--- a/packages/sqlite/sqlite-2.8.9/crosscompile.patch
+++ /dev/null
@@ -1,147 +0,0 @@
-
-#
-# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
-#
-
---- sqlite/configure.ac~crosscompile 2003-12-22 15:29:33.000000000 +0100
-+++ sqlite/configure.ac 2004-01-14 01:03:08.000000000 +0100
-@@ -202,10 +202,10 @@
- default_build_cflags="-g"
- if test "$config_BUILD_CC" = ""; then
- AC_PROG_CC
-- if test "$cross_compiling" = "yes"; then
-- AC_MSG_ERROR([unable to find a compiler for building build tools])
-- fi
-- BUILD_CC=$CC
-+# if test "$cross_compiling" = "yes"; then
-+# AC_MSG_ERROR([unable to find a compiler for building build tools])
-+# fi
-+ BUILD_CC=gcc
- default_build_cflags=$CFLAGS
- else
- BUILD_CC=$config_BUILD_CC
-@@ -417,120 +417,14 @@
- fi
- AC_SUBST(TARGET_LIBS)
-
--##########
--# Figure out what C libraries are required to compile Tcl programs.
--#
--if test "$config_TARGET_TCL_LIBS" != ""; then
-- TARGET_TCL_LIBS="$config_TARGET_TCL_LIBS"
--else
-- if test "$with_tcl" != ""; then
-- extra=`echo $with_tcl/$tclsubdir/libtcl8*.a`
-- fi
-- CC=$TARGET_CC
-- AC_CHECK_FUNC(sin, LIBS="", LIBS="-lm")
-- AC_CHECK_LIB(dl, dlopen)
-- otherlibs=$LIBS
-- if test "$extra" != ""; then
-- LIBS=$extra
-- else
-- LIBS=""
-- AC_SEARCH_LIBS(Tcl_Init, dnl
-- tcl8.4 tcl8.3 tcl84 tcl83 tcl,,,$otherlibs)
-- fi
-- TARGET_TCL_LIBS="$LIBS $otherlibs"
--fi
--AC_SUBST(TARGET_TCL_LIBS)
--
--##########
--# Figure out where to get the TCL header files.
--#
--AC_MSG_CHECKING([TCL header files])
--found=no
--if test "$config_TARGET_TCL_INC" != ""; then
-- TARGET_TCL_INC=$config_TARGET_TCL_INC
-- found=yes
--else
-- if test "$with_tcl" != ""; then
-- TARGET_TCL_INC="-I$with_tcl/generic -I$with_tcl/$tclsubdir"
-- found=yes
-- else
-- TARGET_TCL_INC=""
-- found=no
-- fi
--fi
--if test "$found" = "yes"; then
-- AC_MSG_RESULT($TARGET_TCL_INC)
--else
-- AC_MSG_RESULT(not specified: still searching...)
-- AC_CHECK_HEADER(tcl.h, [found=yes])
--fi
--if test "$found" = "no"; then
-- for dir in /usr/local /usr/X11 /usr/X11R6 /usr/pkg /usr/contrib /usr; do
-- AC_CHECK_FILE($dir/include/tcl.h, found=yes)
-- if test "$found" = "yes"; then
-- TARGET_TCL_INC="-I$dir/include"
-- break
-- fi
-- done
--fi
--if test "$found" = "no"; then
-- TARGET_TCL_INC="-DNO_TCL=1"
--fi
-+TARGET_TCL_INC="-DNO_TCL=1"
- AC_SUBST(TARGET_TCL_INC)
-
--##########
--# Figure out what C libraries are required to compile programs
--# that use "readline()" library.
--#
--if test "$config_TARGET_READLINE_LIBS" != ""; then
-- TARGET_READLINE_LIBS="$config_TARGET_READLINE_LIBS"
--else
-- CC=$TARGET_CC
-- LIBS=""
-- AC_SEARCH_LIBS(tgetent, [readline ncurses curses termcap])
-- AC_CHECK_LIB([readline], [readline])
-- TARGET_READLINE_LIBS="$LIBS"
--fi
-+TARGET_READLINE_LIBS="-lreadline"
- AC_SUBST(TARGET_READLINE_LIBS)
-
--##########
--# Figure out where to get the READLINE header files.
--#
--AC_MSG_CHECKING([readline header files])
--found=no
--if test "$config_TARGET_READLINE_INC" != ""; then
-- TARGET_READLINE_INC=$config_TARGET_READLINE_INC
-- found=yes
--fi
--if test "$found" = "yes"; then
-- AC_MSG_RESULT($TARGET_READLINE_INC)
--else
-- AC_MSG_RESULT(not specified: still searching...)
-- AC_CHECK_HEADER(readline.h, [found=yes])
--fi
--if test "$found" = "no"; then
-- for dir in /usr /usr/local /usr/local/readline /usr/contrib /mingw; do
-- AC_CHECK_FILE($dir/include/readline.h, found=yes)
-- if test "$found" = "yes"; then
-- TARGET_READLINE_INC="-I$dir/include"
-- break
-- fi
-- AC_CHECK_FILE($dir/include/readline/readline.h, found=yes)
-- if test "$found" = "yes"; then
-- TARGET_READLINE_INC="-I$dir/include/readline"
-- break
-- fi
-- done
--fi
--if test "$found" = "yes"; then
-- if test "$TARGET_READLINE_LIBS" = ""; then
-- TARGET_HAVE_READLINE=0
-- else
-- TARGET_HAVE_READLINE=1
-- fi
--else
-- TARGET_HAVE_READLINE=0
--fi
-+TARGET_HAVE_READLINE=1
-+TARGET_READLINE_INC=""
- AC_SUBST(TARGET_READLINE_INC)
- AC_SUBST(TARGET_HAVE_READLINE)
-
diff --git a/packages/sqlite/sqlite3-3.2.2/.mtn2git_empty b/packages/sqlite/sqlite3-3.2.2/.mtn2git_empty
deleted file mode 100644
index e69de29bb2..0000000000
--- a/packages/sqlite/sqlite3-3.2.2/.mtn2git_empty
+++ /dev/null
diff --git a/packages/sqlite/sqlite3-3.2.2/cross-compile.patch b/packages/sqlite/sqlite3-3.2.2/cross-compile.patch
deleted file mode 100644
index aaafaa590c..0000000000
--- a/packages/sqlite/sqlite3-3.2.2/cross-compile.patch
+++ /dev/null
@@ -1,84 +0,0 @@
-
-#
-# Patch managed by http://www.holgerschurig.de/patcher.html
-#
-
-Index: sqlite-3.2.1/configure.ac
-===================================================================
---- sqlite-3.2.1.orig/configure.ac 2005-03-23 17:08:39.000000000 +0100
-+++ sqlite-3.2.1/configure.ac 2005-04-25 23:02:40.000000000 +0200
-@@ -186,10 +186,11 @@
- default_build_cflags="-g"
- if test "$config_BUILD_CC" = ""; then
- AC_PROG_CC
-- if test "$cross_compiling" = "yes"; then
-- AC_MSG_ERROR([unable to find a compiler for building build tools])
-- fi
-- BUILD_CC=$CC
-+# if test "$cross_compiling" = "yes"; then
-+# AC_MSG_ERROR([unable to find a compiler for building build tools])
-+# fi
-+# BUILD_CC=$CC
-+ BUILD_CC=gcc
- default_build_cflags=$CFLAGS
- else
- BUILD_CC=$config_BUILD_CC
-@@ -539,55 +540,14 @@
- # Figure out what C libraries are required to compile programs
- # that use "readline()" library.
- #
--if test "$config_TARGET_READLINE_LIBS" != ""; then
-- TARGET_READLINE_LIBS="$config_TARGET_READLINE_LIBS"
--else
-- CC=$TARGET_CC
-- LIBS=""
-- AC_SEARCH_LIBS(tgetent, [readline ncurses curses termcap])
-- AC_CHECK_LIB([readline], [readline])
-- TARGET_READLINE_LIBS="$LIBS"
--fi
-+TARGET_READLINE_LIBS="-lreadline"
- AC_SUBST(TARGET_READLINE_LIBS)
-
- ##########
- # Figure out where to get the READLINE header files.
- #
--AC_MSG_CHECKING([readline header files])
--found=no
--if test "$config_TARGET_READLINE_INC" != ""; then
-- TARGET_READLINE_INC=$config_TARGET_READLINE_INC
-- found=yes
--fi
--if test "$found" = "yes"; then
-- AC_MSG_RESULT($TARGET_READLINE_INC)
--else
-- AC_MSG_RESULT(not specified: still searching...)
-- AC_CHECK_HEADER(readline.h, [found=yes])
--fi
--if test "$found" = "no"; then
-- for dir in /usr /usr/local /usr/local/readline /usr/contrib /mingw; do
-- AC_CHECK_FILE($dir/include/readline.h, found=yes)
-- if test "$found" = "yes"; then
-- TARGET_READLINE_INC="-I$dir/include"
-- break
-- fi
-- AC_CHECK_FILE($dir/include/readline/readline.h, found=yes)
-- if test "$found" = "yes"; then
-- TARGET_READLINE_INC="-I$dir/include/readline"
-- break
-- fi
-- done
--fi
--if test "$found" = "yes"; then
-- if test "$TARGET_READLINE_LIBS" = ""; then
-- TARGET_HAVE_READLINE=0
-- else
-- TARGET_HAVE_READLINE=1
-- fi
--else
-- TARGET_HAVE_READLINE=0
--fi
-+TARGET_READLINE_INC=""
-+TARGET_HAVE_READLINE=1
- AC_SUBST(TARGET_READLINE_INC)
- AC_SUBST(TARGET_HAVE_READLINE)
-
diff --git a/packages/sqlite/sqlite3-3.2.2/ldflags.patch b/packages/sqlite/sqlite3-3.2.2/ldflags.patch
deleted file mode 100644
index cdc1c5141e..0000000000
--- a/packages/sqlite/sqlite3-3.2.2/ldflags.patch
+++ /dev/null
@@ -1,77 +0,0 @@
-Index: sqlite-3.2.1/Makefile.in
-===================================================================
---- sqlite-3.2.1.orig/Makefile.in 2005-04-25 23:12:10.000000000 +0200
-+++ sqlite-3.2.1/Makefile.in 2005-04-25 23:17:39.000000000 +0200
-@@ -31,6 +31,10 @@
- #
- TCC = @TARGET_CC@ @TARGET_CFLAGS@ -I. -I${TOP}/src
-
-+# OE overrides
-+#
-+TARGET_LFLAGS = @TARGET_LFLAGS@
-+
- # Define -DNDEBUG to compile without debugging (i.e., for production usage)
- # Omitting the define will cause extra debugging code to be inserted and
- # includes extra comments when "EXPLAIN stmt" is used.
-@@ -228,17 +232,17 @@
- | awk '{print $$5,$$6}' >last_change
-
- libsqlite3.la: $(LIBOBJ)
-- $(LTLINK) -o libsqlite3.la $(LIBOBJ) $(LIBPTHREAD) \
-+ $(LTLINK) -o libsqlite3.la $(LIBOBJ) $(TARGET_LFLAGS) $(LIBPTHREAD) \
- ${ALLOWRELEASE} -rpath $(libdir) -version-info "8:6:8"
-
- libtclsqlite3.la: tclsqlite.lo libsqlite3.la
- $(LTLINK) -o libtclsqlite3.la tclsqlite.lo \
-- $(LIBOBJ) @TCL_STUB_LIB_SPEC@ $(LIBPTHREAD) \
-+ $(LIBOBJ) @TCL_STUB_LIB_SPEC@ $(TARGET_LFLAGS) $(LIBPTHREAD) \
- -rpath $(libdir)/sqlite \
- -version-info "8:6:8"
-
- sqlite3$(TEXE): $(TOP)/src/shell.c libsqlite3.la sqlite3.h
-- $(LTLINK) $(READLINE_FLAGS) $(LIBPTHREAD) \
-+ $(LTLINK) $(TARGET_LFLAGS) $(READLINE_FLAGS) $(LIBPTHREAD) \
- -o sqlite3 $(TOP)/src/shell.c libsqlite3.la $(LIBREADLINE)
-
- # This target creates a directory named "tsrc" and fills it with
-@@ -413,19 +417,19 @@
-
- tclsqlite3: tclsqlite-shell.lo libsqlite3.la
- $(LTLINK) -o tclsqlite3 tclsqlite-shell.lo \
-- libsqlite3.la $(LIBTCL)
-+ libsqlite3.la $(TARGET_LFLAGS) $(LIBTCL)
-
- testfixture$(TEXE): $(TOP)/src/tclsqlite.c libtclsqlite3.la libsqlite3.la $(TESTSRC)
- $(LTLINK) -DTCLSH=1 -DSQLITE_TEST=1\
- $(THREADSAFE) $(TEMP_STORE)\
- -o testfixture $(TESTSRC) $(TOP)/src/tclsqlite.c \
-- libtclsqlite3.la $(LIBTCL)
-+ libtclsqlite3.la $(TARGET_LFLAGS) $(LIBTCL)
-
- crashtest$(TEXE): $(TOP)/src/tclsqlite.c libsqlite3.la $(TESTSRC) $(TOP)/src/os_test.c
- $(LTLINK) -DOS_TEST=1 -DTCLSH=1 -DSQLITE_TEST=1 \
- -o crashtest \
- $(TESTSRC) $(TOP)/src/os_test.c $(TOP)/src/tclsqlite.c \
-- libsqlite3.la $(LIBTCL) $(THREADLIB)
-+ libsqlite3.la $(TARGET_LFLAGS) $(LIBTCL) $(THREADLIB)
-
-
-
-Index: sqlite-3.2.1/configure.ac
-===================================================================
---- sqlite-3.2.1.orig/configure.ac 2005-04-25 23:12:10.000000000 +0200
-+++ sqlite-3.2.1/configure.ac 2005-04-25 23:12:46.000000000 +0200
-@@ -238,6 +238,13 @@
- TARGET_LINK=$config_TARGET_LINK
- fi
- AC_MSG_RESULT($TARGET_LINK)
-+AC_MSG_CHECKING([switches on the target linker])
-+if test "$config_TARGET_LFLAGS" != ""; then
-+ TARGET_LFLAGS=$config_TARGET_LFLAGS
-+else
-+ TARGET_LFLAGS=$BUILD_LFLAGS
-+fi
-+AC_MSG_RESULT($TARGET_LFLAGS)
- AC_MSG_CHECKING([switches on the target compiler])
- if test "$config_TARGET_TFLAGS" != ""; then
- TARGET_TFLAGS=$config_TARGET_TFLAGS
diff --git a/packages/sqlite/sqlite3-3.2.5/.mtn2git_empty b/packages/sqlite/sqlite3-3.2.5/.mtn2git_empty
deleted file mode 100644
index e69de29bb2..0000000000
--- a/packages/sqlite/sqlite3-3.2.5/.mtn2git_empty
+++ /dev/null
diff --git a/packages/sqlite/sqlite3-3.2.5/cross-compile.patch b/packages/sqlite/sqlite3-3.2.5/cross-compile.patch
deleted file mode 100644
index aaafaa590c..0000000000
--- a/packages/sqlite/sqlite3-3.2.5/cross-compile.patch
+++ /dev/null
@@ -1,84 +0,0 @@
-
-#
-# Patch managed by http://www.holgerschurig.de/patcher.html
-#
-
-Index: sqlite-3.2.1/configure.ac
-===================================================================
---- sqlite-3.2.1.orig/configure.ac 2005-03-23 17:08:39.000000000 +0100
-+++ sqlite-3.2.1/configure.ac 2005-04-25 23:02:40.000000000 +0200
-@@ -186,10 +186,11 @@
- default_build_cflags="-g"
- if test "$config_BUILD_CC" = ""; then
- AC_PROG_CC
-- if test "$cross_compiling" = "yes"; then
-- AC_MSG_ERROR([unable to find a compiler for building build tools])
-- fi
-- BUILD_CC=$CC
-+# if test "$cross_compiling" = "yes"; then
-+# AC_MSG_ERROR([unable to find a compiler for building build tools])
-+# fi
-+# BUILD_CC=$CC
-+ BUILD_CC=gcc
- default_build_cflags=$CFLAGS
- else
- BUILD_CC=$config_BUILD_CC
-@@ -539,55 +540,14 @@
- # Figure out what C libraries are required to compile programs
- # that use "readline()" library.
- #
--if test "$config_TARGET_READLINE_LIBS" != ""; then
-- TARGET_READLINE_LIBS="$config_TARGET_READLINE_LIBS"
--else
-- CC=$TARGET_CC
-- LIBS=""
-- AC_SEARCH_LIBS(tgetent, [readline ncurses curses termcap])
-- AC_CHECK_LIB([readline], [readline])
-- TARGET_READLINE_LIBS="$LIBS"
--fi
-+TARGET_READLINE_LIBS="-lreadline"
- AC_SUBST(TARGET_READLINE_LIBS)
-
- ##########
- # Figure out where to get the READLINE header files.
- #
--AC_MSG_CHECKING([readline header files])
--found=no
--if test "$config_TARGET_READLINE_INC" != ""; then
-- TARGET_READLINE_INC=$config_TARGET_READLINE_INC
-- found=yes
--fi
--if test "$found" = "yes"; then
-- AC_MSG_RESULT($TARGET_READLINE_INC)
--else
-- AC_MSG_RESULT(not specified: still searching...)
-- AC_CHECK_HEADER(readline.h, [found=yes])
--fi
--if test "$found" = "no"; then
-- for dir in /usr /usr/local /usr/local/readline /usr/contrib /mingw; do
-- AC_CHECK_FILE($dir/include/readline.h, found=yes)
-- if test "$found" = "yes"; then
-- TARGET_READLINE_INC="-I$dir/include"
-- break
-- fi
-- AC_CHECK_FILE($dir/include/readline/readline.h, found=yes)
-- if test "$found" = "yes"; then
-- TARGET_READLINE_INC="-I$dir/include/readline"
-- break
-- fi
-- done
--fi
--if test "$found" = "yes"; then
-- if test "$TARGET_READLINE_LIBS" = ""; then
-- TARGET_HAVE_READLINE=0
-- else
-- TARGET_HAVE_READLINE=1
-- fi
--else
-- TARGET_HAVE_READLINE=0
--fi
-+TARGET_READLINE_INC=""
-+TARGET_HAVE_READLINE=1
- AC_SUBST(TARGET_READLINE_INC)
- AC_SUBST(TARGET_HAVE_READLINE)
-
diff --git a/packages/sqlite/sqlite3-3.2.5/ldflags.patch b/packages/sqlite/sqlite3-3.2.5/ldflags.patch
deleted file mode 100644
index 7f40385f25..0000000000
--- a/packages/sqlite/sqlite3-3.2.5/ldflags.patch
+++ /dev/null
@@ -1,77 +0,0 @@
-
-#
-# Patch managed by http://www.holgerschurig.de/patcher.html
-#
-
---- sqlite-3.2.5/Makefile.in~ldflags
-+++ sqlite-3.2.5/Makefile.in
-@@ -31,6 +31,10 @@
- #
- TCC = @TARGET_CC@ @TARGET_CFLAGS@ -I. -I${TOP}/src
-
-+# OE overrides
-+#
-+TARGET_LFLAGS = @TARGET_LFLAGS@
-+
- # Define -DNDEBUG to compile without debugging (i.e., for production usage)
- # Omitting the define will cause extra debugging code to be inserted and
- # includes extra comments when "EXPLAIN stmt" is used.
-@@ -235,17 +239,17 @@
- | awk '{print $$5,$$6}' >last_change
-
- libsqlite3.la: $(LIBOBJ)
-- $(LTLINK) -o libsqlite3.la $(LIBOBJ) $(LIBPTHREAD) \
-+ $(LTLINK) -o libsqlite3.la $(LIBOBJ) $(TARGET_LFLAGS) $(LIBPTHREAD) \
- ${ALLOWRELEASE} -rpath $(libdir) -version-info "8:6:8"
-
- libtclsqlite3.la: tclsqlite.lo libsqlite3.la
- $(LTLINK) -o libtclsqlite3.la tclsqlite.lo \
-- $(LIBOBJ) @TCL_STUB_LIB_SPEC@ $(LIBPTHREAD) \
-+ $(LIBOBJ) @TCL_STUB_LIB_SPEC@ $(TARGET_LFLAGS) $(LIBPTHREAD) \
- -rpath $(libdir)/sqlite \
- -version-info "8:6:8"
-
- sqlite3$(TEXE): $(TOP)/src/shell.c libsqlite3.la sqlite3.h
-- $(LTLINK) $(READLINE_FLAGS) $(LIBPTHREAD) \
-+ $(LTLINK) $(TARGET_LFLAGS) $(READLINE_FLAGS) $(LIBPTHREAD) \
- -o sqlite3 $(TOP)/src/shell.c libsqlite3.la $(LIBREADLINE)
-
- # This target creates a directory named "tsrc" and fills it with
-@@ -419,18 +423,18 @@
-
- tclsqlite3: tclsqlite-shell.lo libsqlite3.la
- $(LTLINK) -o tclsqlite3 tclsqlite-shell.lo \
-- libsqlite3.la $(LIBTCL)
-+ libsqlite3.la $(TARGET_LFLAGS) $(LIBTCL)
-
- testfixture$(TEXE): $(TOP)/src/tclsqlite.c libsqlite3.la $(TESTSRC)
- $(LTLINK) -DTCLSH=1 -DSQLITE_TEST=1 $(TEMP_STORE) \
- -o testfixture $(TESTSRC) $(TOP)/src/tclsqlite.c \
-- libsqlite3.la $(LIBTCL)
-+ libsqlite3.la $(TARGET_LFLAGS) $(LIBTCL)
-
- crashtest$(TEXE): $(TOP)/src/tclsqlite.c libsqlite3.la $(TESTSRC) $(TOP)/src/os_test.c
- $(LTLINK) -DOS_TEST=1 -DTCLSH=1 -DSQLITE_TEST=1 \
- -o crashtest \
- $(TESTSRC) $(TOP)/src/os_test.c $(TOP)/src/tclsqlite.c \
-- libsqlite3.la $(LIBTCL)
-+ libsqlite3.la $(TARGET_LFLAGS) $(LIBTCL)
-
-
-
---- sqlite-3.2.5/configure.ac~ldflags
-+++ sqlite-3.2.5/configure.ac
-@@ -238,6 +238,13 @@
- TARGET_LINK=$config_TARGET_LINK
- fi
- AC_MSG_RESULT($TARGET_LINK)
-+AC_MSG_CHECKING([switches on the target linker])
-+if test "$config_TARGET_LFLAGS" != ""; then
-+ TARGET_LFLAGS=$config_TARGET_LFLAGS
-+else
-+ TARGET_LFLAGS=$BUILD_LFLAGS
-+fi
-+AC_MSG_RESULT($TARGET_LFLAGS)
- AC_MSG_CHECKING([switches on the target compiler])
- if test "$config_TARGET_TFLAGS" != ""; then
- TARGET_TFLAGS=$config_TARGET_TFLAGS
diff --git a/packages/sqlite/sqlite3-3.2.7/.mtn2git_empty b/packages/sqlite/sqlite3-3.2.7/.mtn2git_empty
deleted file mode 100644
index e69de29bb2..0000000000
--- a/packages/sqlite/sqlite3-3.2.7/.mtn2git_empty
+++ /dev/null
diff --git a/packages/sqlite/sqlite3-3.2.7/cross-compile.patch b/packages/sqlite/sqlite3-3.2.7/cross-compile.patch
deleted file mode 100644
index aaafaa590c..0000000000
--- a/packages/sqlite/sqlite3-3.2.7/cross-compile.patch
+++ /dev/null
@@ -1,84 +0,0 @@
-
-#
-# Patch managed by http://www.holgerschurig.de/patcher.html
-#
-
-Index: sqlite-3.2.1/configure.ac
-===================================================================
---- sqlite-3.2.1.orig/configure.ac 2005-03-23 17:08:39.000000000 +0100
-+++ sqlite-3.2.1/configure.ac 2005-04-25 23:02:40.000000000 +0200
-@@ -186,10 +186,11 @@
- default_build_cflags="-g"
- if test "$config_BUILD_CC" = ""; then
- AC_PROG_CC
-- if test "$cross_compiling" = "yes"; then
-- AC_MSG_ERROR([unable to find a compiler for building build tools])
-- fi
-- BUILD_CC=$CC
-+# if test "$cross_compiling" = "yes"; then
-+# AC_MSG_ERROR([unable to find a compiler for building build tools])
-+# fi
-+# BUILD_CC=$CC
-+ BUILD_CC=gcc
- default_build_cflags=$CFLAGS
- else
- BUILD_CC=$config_BUILD_CC
-@@ -539,55 +540,14 @@
- # Figure out what C libraries are required to compile programs
- # that use "readline()" library.
- #
--if test "$config_TARGET_READLINE_LIBS" != ""; then
-- TARGET_READLINE_LIBS="$config_TARGET_READLINE_LIBS"
--else
-- CC=$TARGET_CC
-- LIBS=""
-- AC_SEARCH_LIBS(tgetent, [readline ncurses curses termcap])
-- AC_CHECK_LIB([readline], [readline])
-- TARGET_READLINE_LIBS="$LIBS"
--fi
-+TARGET_READLINE_LIBS="-lreadline"
- AC_SUBST(TARGET_READLINE_LIBS)
-
- ##########
- # Figure out where to get the READLINE header files.
- #
--AC_MSG_CHECKING([readline header files])
--found=no
--if test "$config_TARGET_READLINE_INC" != ""; then
-- TARGET_READLINE_INC=$config_TARGET_READLINE_INC
-- found=yes
--fi
--if test "$found" = "yes"; then
-- AC_MSG_RESULT($TARGET_READLINE_INC)
--else
-- AC_MSG_RESULT(not specified: still searching...)
-- AC_CHECK_HEADER(readline.h, [found=yes])
--fi
--if test "$found" = "no"; then
-- for dir in /usr /usr/local /usr/local/readline /usr/contrib /mingw; do
-- AC_CHECK_FILE($dir/include/readline.h, found=yes)
-- if test "$found" = "yes"; then
-- TARGET_READLINE_INC="-I$dir/include"
-- break
-- fi
-- AC_CHECK_FILE($dir/include/readline/readline.h, found=yes)
-- if test "$found" = "yes"; then
-- TARGET_READLINE_INC="-I$dir/include/readline"
-- break
-- fi
-- done
--fi
--if test "$found" = "yes"; then
-- if test "$TARGET_READLINE_LIBS" = ""; then
-- TARGET_HAVE_READLINE=0
-- else
-- TARGET_HAVE_READLINE=1
-- fi
--else
-- TARGET_HAVE_READLINE=0
--fi
-+TARGET_READLINE_INC=""
-+TARGET_HAVE_READLINE=1
- AC_SUBST(TARGET_READLINE_INC)
- AC_SUBST(TARGET_HAVE_READLINE)
-
diff --git a/packages/sqlite/sqlite3-3.2.7/ldflags.patch b/packages/sqlite/sqlite3-3.2.7/ldflags.patch
deleted file mode 100644
index 7f40385f25..0000000000
--- a/packages/sqlite/sqlite3-3.2.7/ldflags.patch
+++ /dev/null
@@ -1,77 +0,0 @@
-
-#
-# Patch managed by http://www.holgerschurig.de/patcher.html
-#
-
---- sqlite-3.2.5/Makefile.in~ldflags
-+++ sqlite-3.2.5/Makefile.in
-@@ -31,6 +31,10 @@
- #
- TCC = @TARGET_CC@ @TARGET_CFLAGS@ -I. -I${TOP}/src
-
-+# OE overrides
-+#
-+TARGET_LFLAGS = @TARGET_LFLAGS@
-+
- # Define -DNDEBUG to compile without debugging (i.e., for production usage)
- # Omitting the define will cause extra debugging code to be inserted and
- # includes extra comments when "EXPLAIN stmt" is used.
-@@ -235,17 +239,17 @@
- | awk '{print $$5,$$6}' >last_change
-
- libsqlite3.la: $(LIBOBJ)
-- $(LTLINK) -o libsqlite3.la $(LIBOBJ) $(LIBPTHREAD) \
-+ $(LTLINK) -o libsqlite3.la $(LIBOBJ) $(TARGET_LFLAGS) $(LIBPTHREAD) \
- ${ALLOWRELEASE} -rpath $(libdir) -version-info "8:6:8"
-
- libtclsqlite3.la: tclsqlite.lo libsqlite3.la
- $(LTLINK) -o libtclsqlite3.la tclsqlite.lo \
-- $(LIBOBJ) @TCL_STUB_LIB_SPEC@ $(LIBPTHREAD) \
-+ $(LIBOBJ) @TCL_STUB_LIB_SPEC@ $(TARGET_LFLAGS) $(LIBPTHREAD) \
- -rpath $(libdir)/sqlite \
- -version-info "8:6:8"
-
- sqlite3$(TEXE): $(TOP)/src/shell.c libsqlite3.la sqlite3.h
-- $(LTLINK) $(READLINE_FLAGS) $(LIBPTHREAD) \
-+ $(LTLINK) $(TARGET_LFLAGS) $(READLINE_FLAGS) $(LIBPTHREAD) \
- -o sqlite3 $(TOP)/src/shell.c libsqlite3.la $(LIBREADLINE)
-
- # This target creates a directory named "tsrc" and fills it with
-@@ -419,18 +423,18 @@
-
- tclsqlite3: tclsqlite-shell.lo libsqlite3.la
- $(LTLINK) -o tclsqlite3 tclsqlite-shell.lo \
-- libsqlite3.la $(LIBTCL)
-+ libsqlite3.la $(TARGET_LFLAGS) $(LIBTCL)
-
- testfixture$(TEXE): $(TOP)/src/tclsqlite.c libsqlite3.la $(TESTSRC)
- $(LTLINK) -DTCLSH=1 -DSQLITE_TEST=1 $(TEMP_STORE) \
- -o testfixture $(TESTSRC) $(TOP)/src/tclsqlite.c \
-- libsqlite3.la $(LIBTCL)
-+ libsqlite3.la $(TARGET_LFLAGS) $(LIBTCL)
-
- crashtest$(TEXE): $(TOP)/src/tclsqlite.c libsqlite3.la $(TESTSRC) $(TOP)/src/os_test.c
- $(LTLINK) -DOS_TEST=1 -DTCLSH=1 -DSQLITE_TEST=1 \
- -o crashtest \
- $(TESTSRC) $(TOP)/src/os_test.c $(TOP)/src/tclsqlite.c \
-- libsqlite3.la $(LIBTCL)
-+ libsqlite3.la $(TARGET_LFLAGS) $(LIBTCL)
-
-
-
---- sqlite-3.2.5/configure.ac~ldflags
-+++ sqlite-3.2.5/configure.ac
-@@ -238,6 +238,13 @@
- TARGET_LINK=$config_TARGET_LINK
- fi
- AC_MSG_RESULT($TARGET_LINK)
-+AC_MSG_CHECKING([switches on the target linker])
-+if test "$config_TARGET_LFLAGS" != ""; then
-+ TARGET_LFLAGS=$config_TARGET_LFLAGS
-+else
-+ TARGET_LFLAGS=$BUILD_LFLAGS
-+fi
-+AC_MSG_RESULT($TARGET_LFLAGS)
- AC_MSG_CHECKING([switches on the target compiler])
- if test "$config_TARGET_TFLAGS" != ""; then
- TARGET_TFLAGS=$config_TARGET_TFLAGS
diff --git a/packages/sqlite/sqlite3-3.3.12/.mtn2git_empty b/packages/sqlite/sqlite3-3.3.12/.mtn2git_empty
deleted file mode 100644
index e69de29bb2..0000000000
--- a/packages/sqlite/sqlite3-3.3.12/.mtn2git_empty
+++ /dev/null
diff --git a/packages/sqlite/sqlite3-3.3.12/ldflags.patch b/packages/sqlite/sqlite3-3.3.12/ldflags.patch
deleted file mode 100644
index fb78ab9d87..0000000000
--- a/packages/sqlite/sqlite3-3.3.12/ldflags.patch
+++ /dev/null
@@ -1,70 +0,0 @@
-Index: sqlite-3.3.9/Makefile.in
-===================================================================
---- sqlite-3.3.9.orig/Makefile.in 2007-01-08 19:37:52.000000000 +0100
-+++ sqlite-3.3.9/Makefile.in 2007-01-08 19:41:54.000000000 +0100
-@@ -31,6 +31,10 @@
- #
- TCC = @TARGET_CC@ @TARGET_CFLAGS@ -I. -I${TOP}/src
-
-+# OE overrides
-+#
-+TARGET_LFLAGS = @TARGET_LFLAGS@
-+
- # Define -DNDEBUG to compile without debugging (i.e., for production usage)
- # Omitting the define will cause extra debugging code to be inserted and
- # includes extra comments when "EXPLAIN stmt" is used.
-@@ -276,17 +280,17 @@
- | $(NAWK) '{print $$5,$$6}' >last_change
-
- libsqlite3.la: $(LIBOBJ)
-- $(LTLINK) -o libsqlite3.la $(LIBOBJ) $(LIBPTHREAD) \
-+ $(LTLINK) -o libsqlite3.la $(LIBOBJ) $(TARGET_LFLAGS) $(LIBPTHREAD) \
- ${ALLOWRELEASE} -rpath $(libdir) -version-info "8:6:8"
-
- libtclsqlite3.la: tclsqlite.lo libsqlite3.la
- $(LTLINK) -o libtclsqlite3.la tclsqlite.lo \
-- $(LIBOBJ) @TCL_STUB_LIB_SPEC@ $(LIBPTHREAD) \
-+ $(LIBOBJ) @TCL_STUB_LIB_SPEC@ $(TARGET_LFLAGS) $(LIBPTHREAD) \
- -rpath $(libdir)/sqlite \
- -version-info "8:6:8"
-
- sqlite3$(TEXE): $(TOP)/src/shell.c libsqlite3.la sqlite3.h
-- $(LTLINK) $(READLINE_FLAGS) $(LIBPTHREAD) \
-+ $(LTLINK) $(TARGET_LFLAGS) $(READLINE_FLAGS) $(LIBPTHREAD) \
- -o $@ $(TOP)/src/shell.c libsqlite3.la \
- $(LIBREADLINE) $(TLIBS)
-
-@@ -474,13 +478,13 @@
-
- tclsqlite3: tclsqlite-shell.lo libsqlite3.la
- $(LTLINK) -o tclsqlite3 tclsqlite-shell.lo \
-- libsqlite3.la $(LIBTCL)
-+ libsqlite3.la $(TARGET_LFLAGS) $(LIBTCL)
-
- testfixture$(TEXE): $(TOP)/src/tclsqlite.c libsqlite3.la $(TESTSRC)
- $(LTLINK) -DTCLSH=1 -DSQLITE_TEST=1 -DSQLITE_CRASH_TEST=1 \
- -DSQLITE_NO_SYNC=1 $(TEMP_STORE) \
- -o testfixture $(TESTSRC) $(TOP)/src/tclsqlite.c \
-- libsqlite3.la $(LIBTCL)
-+ libsqlite3.la $(TARGET_LFLAGS) $(LIBTCL)
-
-
- fulltest: testfixture$(TEXE) sqlite3$(TEXE)
-@@ -490,7 +494,7 @@
- ./testfixture $(TOP)/test/quick.test
-
- sqlite3_analyzer$(TEXE): $(TOP)/src/tclsqlite.c libtclsqlite3.la \
-- $(TESTSRC) $(TOP)/tool/spaceanal.tcl
-+ $(TARGET_LFLAGS) $(TESTSRC) $(TOP)/tool/spaceanal.tcl
- sed \
- -e '/^#/d' \
- -e 's,\\,\\\\,g' \
-@@ -500,7 +504,7 @@
- $(TOP)/tool/spaceanal.tcl >spaceanal_tcl.h
- $(LTLINK) -DTCLSH=2 -DSQLITE_TEST=1 $(TEMP_STORE)\
- -o sqlite3_analyzer$(EXE) $(TESTSRC) $(TOP)/src/tclsqlite.c \
-- libtclsqlite3.la $(LIBTCL)
-+ libtclsqlite3.la $(TARGET_LFLAGS) $(LIBTCL)
-
- # Rules used to build documentation
- #
diff --git a/packages/sqlite/sqlite3-3.3.13/.mtn2git_empty b/packages/sqlite/sqlite3-3.3.13/.mtn2git_empty
deleted file mode 100644
index e69de29bb2..0000000000
--- a/packages/sqlite/sqlite3-3.3.13/.mtn2git_empty
+++ /dev/null
diff --git a/packages/sqlite/sqlite3-3.3.13/ldflags.patch b/packages/sqlite/sqlite3-3.3.13/ldflags.patch
deleted file mode 100644
index fb78ab9d87..0000000000
--- a/packages/sqlite/sqlite3-3.3.13/ldflags.patch
+++ /dev/null
@@ -1,70 +0,0 @@
-Index: sqlite-3.3.9/Makefile.in
-===================================================================
---- sqlite-3.3.9.orig/Makefile.in 2007-01-08 19:37:52.000000000 +0100
-+++ sqlite-3.3.9/Makefile.in 2007-01-08 19:41:54.000000000 +0100
-@@ -31,6 +31,10 @@
- #
- TCC = @TARGET_CC@ @TARGET_CFLAGS@ -I. -I${TOP}/src
-
-+# OE overrides
-+#
-+TARGET_LFLAGS = @TARGET_LFLAGS@
-+
- # Define -DNDEBUG to compile without debugging (i.e., for production usage)
- # Omitting the define will cause extra debugging code to be inserted and
- # includes extra comments when "EXPLAIN stmt" is used.
-@@ -276,17 +280,17 @@
- | $(NAWK) '{print $$5,$$6}' >last_change
-
- libsqlite3.la: $(LIBOBJ)
-- $(LTLINK) -o libsqlite3.la $(LIBOBJ) $(LIBPTHREAD) \
-+ $(LTLINK) -o libsqlite3.la $(LIBOBJ) $(TARGET_LFLAGS) $(LIBPTHREAD) \
- ${ALLOWRELEASE} -rpath $(libdir) -version-info "8:6:8"
-
- libtclsqlite3.la: tclsqlite.lo libsqlite3.la
- $(LTLINK) -o libtclsqlite3.la tclsqlite.lo \
-- $(LIBOBJ) @TCL_STUB_LIB_SPEC@ $(LIBPTHREAD) \
-+ $(LIBOBJ) @TCL_STUB_LIB_SPEC@ $(TARGET_LFLAGS) $(LIBPTHREAD) \
- -rpath $(libdir)/sqlite \
- -version-info "8:6:8"
-
- sqlite3$(TEXE): $(TOP)/src/shell.c libsqlite3.la sqlite3.h
-- $(LTLINK) $(READLINE_FLAGS) $(LIBPTHREAD) \
-+ $(LTLINK) $(TARGET_LFLAGS) $(READLINE_FLAGS) $(LIBPTHREAD) \
- -o $@ $(TOP)/src/shell.c libsqlite3.la \
- $(LIBREADLINE) $(TLIBS)
-
-@@ -474,13 +478,13 @@
-
- tclsqlite3: tclsqlite-shell.lo libsqlite3.la
- $(LTLINK) -o tclsqlite3 tclsqlite-shell.lo \
-- libsqlite3.la $(LIBTCL)
-+ libsqlite3.la $(TARGET_LFLAGS) $(LIBTCL)
-
- testfixture$(TEXE): $(TOP)/src/tclsqlite.c libsqlite3.la $(TESTSRC)
- $(LTLINK) -DTCLSH=1 -DSQLITE_TEST=1 -DSQLITE_CRASH_TEST=1 \
- -DSQLITE_NO_SYNC=1 $(TEMP_STORE) \
- -o testfixture $(TESTSRC) $(TOP)/src/tclsqlite.c \
-- libsqlite3.la $(LIBTCL)
-+ libsqlite3.la $(TARGET_LFLAGS) $(LIBTCL)
-
-
- fulltest: testfixture$(TEXE) sqlite3$(TEXE)
-@@ -490,7 +494,7 @@
- ./testfixture $(TOP)/test/quick.test
-
- sqlite3_analyzer$(TEXE): $(TOP)/src/tclsqlite.c libtclsqlite3.la \
-- $(TESTSRC) $(TOP)/tool/spaceanal.tcl
-+ $(TARGET_LFLAGS) $(TESTSRC) $(TOP)/tool/spaceanal.tcl
- sed \
- -e '/^#/d' \
- -e 's,\\,\\\\,g' \
-@@ -500,7 +504,7 @@
- $(TOP)/tool/spaceanal.tcl >spaceanal_tcl.h
- $(LTLINK) -DTCLSH=2 -DSQLITE_TEST=1 $(TEMP_STORE)\
- -o sqlite3_analyzer$(EXE) $(TESTSRC) $(TOP)/src/tclsqlite.c \
-- libtclsqlite3.la $(LIBTCL)
-+ libtclsqlite3.la $(TARGET_LFLAGS) $(LIBTCL)
-
- # Rules used to build documentation
- #
diff --git a/packages/sqlite/sqlite3-native_3.5.6.bb b/packages/sqlite/sqlite3-native_3.6.2.bb
index 08208c4c74..08208c4c74 100644
--- a/packages/sqlite/sqlite3-native_3.5.6.bb
+++ b/packages/sqlite/sqlite3-native_3.6.2.bb
diff --git a/packages/sqlite/sqlite3_3.2.2.bb b/packages/sqlite/sqlite3_3.2.2.bb
deleted file mode 100644
index d21fb6ad3e..0000000000
--- a/packages/sqlite/sqlite3_3.2.2.bb
+++ /dev/null
@@ -1,2 +0,0 @@
-require sqlite3.inc
-PR = "r2"
diff --git a/packages/sqlite/sqlite3_3.2.5.bb b/packages/sqlite/sqlite3_3.2.5.bb
deleted file mode 100644
index d21fb6ad3e..0000000000
--- a/packages/sqlite/sqlite3_3.2.5.bb
+++ /dev/null
@@ -1,2 +0,0 @@
-require sqlite3.inc
-PR = "r2"
diff --git a/packages/sqlite/sqlite3_3.2.7.bb b/packages/sqlite/sqlite3_3.2.7.bb
deleted file mode 100644
index d21fb6ad3e..0000000000
--- a/packages/sqlite/sqlite3_3.2.7.bb
+++ /dev/null
@@ -1,2 +0,0 @@
-require sqlite3.inc
-PR = "r2"
diff --git a/packages/sqlite/sqlite3_3.3.12.bb b/packages/sqlite/sqlite3_3.3.12.bb
deleted file mode 100644
index 3d642f0ffc..0000000000
--- a/packages/sqlite/sqlite3_3.3.12.bb
+++ /dev/null
@@ -1,3 +0,0 @@
-require sqlite3.inc
-PR = "r1"
-SRC_URI += "file://cross-compile.patch;patch=1 file://ldflags.patch;patch=1"
diff --git a/packages/sqlite/sqlite3_3.3.13.bb b/packages/sqlite/sqlite3_3.3.13.bb
deleted file mode 100644
index 3d642f0ffc..0000000000
--- a/packages/sqlite/sqlite3_3.3.13.bb
+++ /dev/null
@@ -1,3 +0,0 @@
-require sqlite3.inc
-PR = "r1"
-SRC_URI += "file://cross-compile.patch;patch=1 file://ldflags.patch;patch=1"
diff --git a/packages/sqlite/sqlite3_3.3.17.bb b/packages/sqlite/sqlite3_3.3.17.bb
deleted file mode 100644
index cee00874bd..0000000000
--- a/packages/sqlite/sqlite3_3.3.17.bb
+++ /dev/null
@@ -1,3 +0,0 @@
-require sqlite3.inc
-PR = "r0"
-
diff --git a/packages/sqlite/sqlite3_3.5.6.bb b/packages/sqlite/sqlite3_3.5.6.bb
deleted file mode 100644
index 5075dd35b7..0000000000
--- a/packages/sqlite/sqlite3_3.5.6.bb
+++ /dev/null
@@ -1,3 +0,0 @@
-require sqlite3.inc
-
-PR = "r1"
diff --git a/packages/sqlite/sqlite3_3.4.1.bb b/packages/sqlite/sqlite3_3.6.2.bb
index cee00874bd..479516d261 100644
--- a/packages/sqlite/sqlite3_3.4.1.bb
+++ b/packages/sqlite/sqlite3_3.6.2.bb
@@ -1,3 +1,3 @@
require sqlite3.inc
-PR = "r0"
+PR = "r0"
diff --git a/packages/sqlite/sqlite_2.8.15.bb b/packages/sqlite/sqlite_2.8.15.bb
deleted file mode 100644
index 2c1d9ecb08..0000000000
--- a/packages/sqlite/sqlite_2.8.15.bb
+++ /dev/null
@@ -1,56 +0,0 @@
-DESCRIPTION = "An Embeddable SQL Database Engine"
-HOMEPAGE = "http://www.sqlite.org/"
-SECTION = "libs"
-PRIORITY = "optional"
-DEPENDS = "readline ncurses"
-LICENSE = "PD"
-PR = "r5"
-
-SRC_URI = "http://www.hwaci.com/sw/sqlite/sqlite-${PV}.tar.gz \
- file://main.mk"
-S = "${WORKDIR}/sqlite"
-
-SOURCES = "attach.o auth.o btree.o btree_rb.o build.o copy.o date.o delete.o expr.o func.o hash.o \
- insert.o main.o opcodes.o os.o pager.o parse.o pragma.o printf.o random.o select.o table.o \
- tokenize.o trigger.o update.o util.o vacuum.o vdbe.o vdbeaux.o where.o"
-
-inherit autotools
-
-do_configure() {
- install -m 0644 ${WORKDIR}/main.mk ${S}/
-}
-
-do_compile() {
- oe_runmake -f Makefile.linux-gcc \
- TOP="${S}" \
- BCC="${BUILD_CC}" \
- TCC="${CC}" \
- OPTS="-fPIC" \
- TCL_FLAGS= LIBTCL= \
- READLINE_FLAGS="-DHAVE_READLINE=1 -I${STAGING_INCDIR}" \
- LIBREADLINE="-L. -L${STAGING_LIBDIR} -lreadline -lncurses"
-}
-
-do_stage() {
- install -m 0755 libsqlite.so ${STAGING_LIBDIR}/libsqlite.so.0.8.6
- ln -sf libsqlite.so.0.8.6 ${STAGING_LIBDIR}/libsqlite.so
- ln -sf libsqlite.so.0.8.6 ${STAGING_LIBDIR}/libsqlite.so.0
- ln -sf libsqlite.so.0.8.6 ${STAGING_LIBDIR}/libsqlite.so.0.8
- install -m 0644 sqlite.h ${STAGING_INCDIR}
-}
-
-do_install() {
- install -d ${D}${libdir} ${D}${bindir}
- install sqlite ${D}${bindir}
- install -m 0755 libsqlite.so ${D}${libdir}/libsqlite.so.0.8.6
- ln -sf libsqlite.so.0.8.6 ${D}${libdir}/libsqlite.so
- ln -sf libsqlite.so.0.8.6 ${D}${libdir}/libsqlite.so.0
- ln -sf libsqlite.so.0.8.6 ${D}${libdir}/libsqlite.so.0.8
- install -d ${D}${includedir}
- install -m 0644 sqlite.h ${D}${includedir}/sqlite.h
-}
-
-PACKAGES += "${PN}-bin"
-FILES_${PN}-bin = "${bindir}/*"
-FILES_${PN} = "${libdir}/*.so.*"
-
diff --git a/packages/sqlite/sqlite_2.8.16.bb b/packages/sqlite/sqlite_2.8.16.bb
deleted file mode 100644
index f0d62bac75..0000000000
--- a/packages/sqlite/sqlite_2.8.16.bb
+++ /dev/null
@@ -1,59 +0,0 @@
-DESCRIPTION = "An Embeddable SQL Database Engine"
-HOMEPAGE = "http://www.sqlite.org/"
-SECTION = "libs"
-PRIORITY = "optional"
-DEPENDS = "readline ncurses"
-LICENSE = "PD"
-PR = "r3"
-
-SRC_URI = "http://www.hwaci.com/sw/sqlite/sqlite-${PV}.tar.gz \
- file://sqlite.pc \
- file://main.mk"
-
-SOURCES = "attach.o auth.o btree.o btree_rb.o build.o copy.o date.o delete.o expr.o func.o hash.o \
- insert.o main.o opcodes.o os.o pager.o parse.o pragma.o printf.o random.o select.o table.o \
- tokenize.o trigger.o update.o util.o vacuum.o vdbe.o vdbeaux.o where.o"
-
-inherit autotools pkgconfig
-
-do_configure() {
- install -m 0644 ${WORKDIR}/main.mk ${S}/
-}
-
-do_compile() {
- oe_runmake -f Makefile.linux-gcc \
- TOP="${S}" \
- BCC="${BUILD_CC}" \
- TCC="${CC}" \
- OPTS="-fPIC -D'INTPTR_TYPE=int'" \
- TCL_FLAGS= LIBTCL= \
- READLINE_FLAGS="-DHAVE_READLINE=1 -I${STAGING_INCDIR}" \
- LIBREADLINE="-L. -L${STAGING_LIBDIR} -lreadline -lncurses"
-}
-
-do_stage() {
- install -m 0755 libsqlite.so ${STAGING_LIBDIR}/libsqlite.so.0.8.6
- ln -sf libsqlite.so.0.8.6 ${STAGING_LIBDIR}/libsqlite.so
- ln -sf libsqlite.so.0.8.6 ${STAGING_LIBDIR}/libsqlite.so.0
- ln -sf libsqlite.so.0.8.6 ${STAGING_LIBDIR}/libsqlite.so.0.8
- install -m 0644 sqlite.h ${STAGING_INCDIR}
-
- # make pkgconfig.bbclass pick this up
- mv ${WORKDIR}/sqlite.pc ${S}
-}
-
-do_install() {
- install -d ${D}${libdir} ${D}${bindir}
- install sqlite ${D}${bindir}
- install -m 0755 libsqlite.so ${D}${libdir}/libsqlite.so.0.8.6
- ln -sf libsqlite.so.0.8.6 ${D}${libdir}/libsqlite.so
- ln -sf libsqlite.so.0.8.6 ${D}${libdir}/libsqlite.so.0
- ln -sf libsqlite.so.0.8.6 ${D}${libdir}/libsqlite.so.0.8
- install -d ${D}${includedir}
- install -m 0644 sqlite.h ${D}${includedir}/sqlite.h
-}
-
-PACKAGES += "${PN}-bin"
-FILES_${PN}-bin = "${bindir}/*"
-FILES_${PN} = "${libdir}/*.so.*"
-
diff --git a/packages/sqlite/sqlite_2.8.9.bb b/packages/sqlite/sqlite_2.8.9.bb
deleted file mode 100644
index 120e721c24..0000000000
--- a/packages/sqlite/sqlite_2.8.9.bb
+++ /dev/null
@@ -1,39 +0,0 @@
-PR = "r3"
-DESCRIPTION = "An Embeddable SQL Database Engine"
-SECTION = "libs"
-PRIORITY = "optional"
-DEPENDS = "readline ncurses"
-LICENSE = "PD"
-
-PACKAGES += "sqlite-bin"
-
-FILES_sqlite-bin = "${bindir}/*"
-
-SRC_URI = "http://www.hwaci.com/sw/sqlite/sqlite-${PV}.tar.gz \
- file://crosscompile.patch;patch=1"
-
-S = "${WORKDIR}/sqlite"
-
-inherit autotools
-
-EXTRA_OECONF = "--without-tcl --enable-static --enable-shared"
-EXTRA_OEMAKE = "'LIBREADLINE=-L${STAGING_LIBDIR} -lreadline -lncurses' 'LIBTOOL=${S}/${HOST_PREFIX}libtool'"
-export config_BUILD_CC = "${BUILD_CC}"
-export config_BUILD_CFLAGS = "${BUILD_CFLAGS}"
-export config_TARGET_CC = "${CC}"
-export config_TARGET_LINK = "${CCLD}"
-export config_TARGET_CFLAGS = "${CFLAGS}"
-
-do_compile () {
- oe_runmake
-}
-
-do_stage() {
- oe_libinstall -so libsqlite ${STAGING_LIBDIR}
- install -m 0644 sqlite.h ${STAGING_INCDIR}
-}
-
-do_install() {
- oe_runmake install prefix=${D}${prefix} exec_prefix=${D}${exec_prefix}
-}
-