Check-in [958acbc40b]
Overview
Comment:Updated to latest SQLite3
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:958acbc40b1cec497d89a6810eeedf84463f27bf
User & Date: rkeene on 2011-07-27 13:58:19
Other Links: manifest | tags
Context
2011-07-27
14:37
Enabled R*Tree SQLite3 support check-in: 3bff2517a1 user: rkeene tags: trunk
13:58
Updated to latest SQLite3 check-in: 958acbc40b user: rkeene tags: trunk
2011-07-25
14:47
Removed x86_64 from TCC platforms check-in: 959c3bf228 user: rkeene tags: trunk
Changes

Modified server/buildpkgs/sqlite3/build.sh from [2e77c6d186] to [f1c534a317].

     1      1   #! /bin/bash
     2      2   
     3      3   # Define parameters
     4         -VERS=3.7.2
            4  +VERS=3.7.7.1
     5      5   VERSUNDER="$(echo "${VERS}" | sed 's@\.@_@g')"
     6         -SRC="src/sqlite-${VERSUNDER}.tar.gz"
     7         -SRCURL="http://www.sqlite.org/sqlite-${VERSUNDER}-tea.tar.gz"
     8         -BUILDDIR="sqlite${VERS}"
            6  +VERSZEROS="$(echo "${VERS}" | sed 's@\.\([0-9]\)\.@.0\1.@g;s@\.\([0-9]\)\.@.0\1.@g;s@\.\([0-9]\)$@.0\1@g;s@\.@@g')"
            7  +SRC="src/sqlite-${VERS}.tar.gz"
            8  +SRCURL="http://www.sqlite.org/sqlite-autoconf-${VERSZEROS}.tar.gz"
            9  +BUILDDIR="sqlite-autoconf-${VERSZEROS}"
     9     10   export VERS SRC SRCURL BUILDDIR
    10     11   
    11     12   # Load common functions
    12     13   source ../common.sh
    13     14   
    14     15   # Do not build if the "tcl" platform has been requested
    15     16   not_platforms 'tcl'
................................................................................
    22     23   	mkdir -p "${PLATDIR}" >/dev/null 2>/dev/null
    23     24   	mkdir build
    24     25   
    25     26   	cd build/ || exit 1
    26     27   
    27     28   	gzip -dc "../${SRC}" | tar -xf -
    28     29   	cd "${BUILDDIR}" || exit 1
           30  +	cd "tea" || exit 1
    29     31   
    30     32   	chmod +x tclconfig/install-sh
           33  +
           34  +	CPPFLAGS="-DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS"
           35  +	export CPPFLAGS
    31     36   
    32     37   	bash ./configure --enable-shared --with-tcl="${TCLCONFIGDIR}" --prefix="${PLATDIR}" --libdir="${PLATDIR}" --bindir="${PLATDIR}" ${CONFIGUREEXTRA}
    33     38   
    34     39   	${MAKE:-make} || exit 1
    35     40   
    36     41   	${MAKE:-make} install-binaries PKG_DIR='' || exit 1
    37     42   
    38     43   	rm -f "${PLATDIR}"/*.a
    39     44   ) || exit 1
    40     45   
    41         -../create_teapot "${PLATDIR}/teapot.txt" "sqlite3" "${VERS}" "${SRCURL}" "${PLATFORM}" "Tcl 8.4" "SQLite"
           46  +../create_teapot "${PLATDIR}/teapot.txt" "sqlite3" "${VERS}" "${SRCURL}" "${PLATFORM}" "Tcl 8.4" "SQLite (with FTS3)"
    42     47   
    43     48   exit 0