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
2
3
4
5

6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

29
30



31
32
33
34
35
36
37
38
39
40
41
42
43
#! /bin/bash

# Define parameters
VERS=3.7.2
VERSUNDER="$(echo "${VERS}" | sed 's@\.@_@g')"

SRC="src/sqlite-${VERSUNDER}.tar.gz"
SRCURL="http://www.sqlite.org/sqlite-${VERSUNDER}-tea.tar.gz"
BUILDDIR="sqlite${VERS}"
export VERS SRC SRCURL BUILDDIR

# Load common functions
source ../common.sh

# Do not build if the "tcl" platform has been requested
not_platforms 'tcl'

# Download source
download_src

(
	rm -rf build
	mkdir -p "${PLATDIR}" >/dev/null 2>/dev/null
	mkdir build

	cd build/ || exit 1

	gzip -dc "../${SRC}" | tar -xf -
	cd "${BUILDDIR}" || exit 1


	chmod +x tclconfig/install-sh




	bash ./configure --enable-shared --with-tcl="${TCLCONFIGDIR}" --prefix="${PLATDIR}" --libdir="${PLATDIR}" --bindir="${PLATDIR}" ${CONFIGUREEXTRA}

	${MAKE:-make} || exit 1

	${MAKE:-make} install-binaries PKG_DIR='' || exit 1

	rm -f "${PLATDIR}"/*.a
) || exit 1

../create_teapot "${PLATDIR}/teapot.txt" "sqlite3" "${VERS}" "${SRCURL}" "${PLATFORM}" "Tcl 8.4" "SQLite"

exit 0



|

>
|
|
|




















>


>
>
>










|


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#! /bin/bash

# Define parameters
VERS=3.7.7.1
VERSUNDER="$(echo "${VERS}" | sed 's@\.@_@g')"
VERSZEROS="$(echo "${VERS}" | sed 's@\.\([0-9]\)\.@.0\1.@g;s@\.\([0-9]\)\.@.0\1.@g;s@\.\([0-9]\)$@.0\1@g;s@\.@@g')"
SRC="src/sqlite-${VERS}.tar.gz"
SRCURL="http://www.sqlite.org/sqlite-autoconf-${VERSZEROS}.tar.gz"
BUILDDIR="sqlite-autoconf-${VERSZEROS}"
export VERS SRC SRCURL BUILDDIR

# Load common functions
source ../common.sh

# Do not build if the "tcl" platform has been requested
not_platforms 'tcl'

# Download source
download_src

(
	rm -rf build
	mkdir -p "${PLATDIR}" >/dev/null 2>/dev/null
	mkdir build

	cd build/ || exit 1

	gzip -dc "../${SRC}" | tar -xf -
	cd "${BUILDDIR}" || exit 1
	cd "tea" || exit 1

	chmod +x tclconfig/install-sh

	CPPFLAGS="-DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS"
	export CPPFLAGS

	bash ./configure --enable-shared --with-tcl="${TCLCONFIGDIR}" --prefix="${PLATDIR}" --libdir="${PLATDIR}" --bindir="${PLATDIR}" ${CONFIGUREEXTRA}

	${MAKE:-make} || exit 1

	${MAKE:-make} install-binaries PKG_DIR='' || exit 1

	rm -f "${PLATDIR}"/*.a
) || exit 1

../create_teapot "${PLATDIR}/teapot.txt" "sqlite3" "${VERS}" "${SRCURL}" "${PLATFORM}" "Tcl 8.4" "SQLite (with FTS3)"

exit 0