Check-in [1ff15eb03f]
Overview
Comment:Added sqlite3 compliation
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:1ff15eb03fd2e9d90613c9975fd3c309f29d4b76
User & Date: rkeene on 2010-02-09 14:53:50
Other Links: manifest | tags
Context
2010-02-09
15:58
Fixed building sqlite3 on non-GNU platforms check-in: bd843fe232 user: rkeene tags: trunk
14:53
Added sqlite3 compliation check-in: 1ff15eb03f user: rkeene tags: trunk
14:39
Updated to attempt to determine OS from magic of built Tcl Updated to pass arguments from the command line to subsequent "build.sh" scripts Fixed issue on "dict" where "out" was being cleaned up check-in: d4584bf4ae user: rkeene tags: trunk
Changes

Modified .fossil-settings/ignore-glob from [d710c30e5c] to [9051d2d91e].

10
11
12
13
14
15
16






17
18
19
20
21
22
23
24
25
26
27
28
server/buildpkgs/dict/build/*
server/buildpkgs/dict/out
server/buildpkgs/dict/out/*
server/buildpkgs/dict/src
server/buildpkgs/dict/src/*
server/buildpkgs/platform.magic.*
server/buildpkgs/platform.magic.*/*






server/buildpkgs/tcl
server/buildpkgs/tcl/*
server/buildpkgs/tclpkgs-*.tar.*
server/buildpkgs/tclpkgs-*.tar.*/*
server/buildpkgs/tls/build
server/buildpkgs/tls/build/*
server/buildpkgs/tls/out
server/buildpkgs/tls/out/*
server/buildpkgs/tls/src
server/buildpkgs/tls/src/*
server/pkgs
server/pkgs/*







>
>
>
>
>
>












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
server/buildpkgs/dict/build/*
server/buildpkgs/dict/out
server/buildpkgs/dict/out/*
server/buildpkgs/dict/src
server/buildpkgs/dict/src/*
server/buildpkgs/platform.magic.*
server/buildpkgs/platform.magic.*/*
server/buildpkgs/sqlite3/build
server/buildpkgs/sqlite3/build/*
server/buildpkgs/sqlite3/out
server/buildpkgs/sqlite3/out/*
server/buildpkgs/sqlite3/src
server/buildpkgs/sqlite3/src/*
server/buildpkgs/tcl
server/buildpkgs/tcl/*
server/buildpkgs/tclpkgs-*.tar.*
server/buildpkgs/tclpkgs-*.tar.*/*
server/buildpkgs/tls/build
server/buildpkgs/tls/build/*
server/buildpkgs/tls/out
server/buildpkgs/tls/out/*
server/buildpkgs/tls/src
server/buildpkgs/tls/src/*
server/pkgs
server/pkgs/*

Added server/buildpkgs/sqlite3/build.sh version [1bc3e7aaf5].





























































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
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
#! /bin/bash

if [ ! -x "../platform" ]; then
	echo "No platform script found, aborting." >&2

	exit 1
fi

VERS=3.6.22
VERSUNDER="$(echo "${VERS}" | sed 's@\.@_@g')"
SRC="src/sqlite-${VERSUNDER}.tar.gz"
SRCURL="http://www.sqlite.org/sqlite-${VERSUNDER}-tea.tar.gz"
BUILDDIR="sqlite-${VERSUNDER}-tea"
WORKDIR="${TMPDIR:-/tmp}/sqlite-$$${RANDOM}${RANDOM}${RANDOM}"
PLATDIR="$(pwd)/out/${PLATFORM}"

export VERS SRC SRCURL BUILDDIR WORKDIR PLATDIR

if [ ! -f "${SRC}" ]; then
	mkdir src >/dev/null 2>/dev/null

	wget -O "${SRC}" "${SRCURL}" || exit 1
fi

(
	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

	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