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     10   server/buildpkgs/dict/build/*
    11     11   server/buildpkgs/dict/out
    12     12   server/buildpkgs/dict/out/*
    13     13   server/buildpkgs/dict/src
    14     14   server/buildpkgs/dict/src/*
    15     15   server/buildpkgs/platform.magic.*
    16     16   server/buildpkgs/platform.magic.*/*
           17  +server/buildpkgs/sqlite3/build
           18  +server/buildpkgs/sqlite3/build/*
           19  +server/buildpkgs/sqlite3/out
           20  +server/buildpkgs/sqlite3/out/*
           21  +server/buildpkgs/sqlite3/src
           22  +server/buildpkgs/sqlite3/src/*
    17     23   server/buildpkgs/tcl
    18     24   server/buildpkgs/tcl/*
    19     25   server/buildpkgs/tclpkgs-*.tar.*
    20     26   server/buildpkgs/tclpkgs-*.tar.*/*
    21     27   server/buildpkgs/tls/build
    22     28   server/buildpkgs/tls/build/*
    23     29   server/buildpkgs/tls/out
    24     30   server/buildpkgs/tls/out/*
    25     31   server/buildpkgs/tls/src
    26     32   server/buildpkgs/tls/src/*
    27     33   server/pkgs
    28     34   server/pkgs/*

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

            1  +#! /bin/bash
            2  +
            3  +if [ ! -x "../platform" ]; then
            4  +	echo "No platform script found, aborting." >&2
            5  +
            6  +	exit 1
            7  +fi
            8  +
            9  +VERS=3.6.22
           10  +VERSUNDER="$(echo "${VERS}" | sed 's@\.@_@g')"
           11  +SRC="src/sqlite-${VERSUNDER}.tar.gz"
           12  +SRCURL="http://www.sqlite.org/sqlite-${VERSUNDER}-tea.tar.gz"
           13  +BUILDDIR="sqlite-${VERSUNDER}-tea"
           14  +WORKDIR="${TMPDIR:-/tmp}/sqlite-$$${RANDOM}${RANDOM}${RANDOM}"
           15  +PLATDIR="$(pwd)/out/${PLATFORM}"
           16  +
           17  +export VERS SRC SRCURL BUILDDIR WORKDIR PLATDIR
           18  +
           19  +if [ ! -f "${SRC}" ]; then
           20  +	mkdir src >/dev/null 2>/dev/null
           21  +
           22  +	wget -O "${SRC}" "${SRCURL}" || exit 1
           23  +fi
           24  +
           25  +(
           26  +	rm -rf build
           27  +	mkdir -p "${PLATDIR}" >/dev/null 2>/dev/null
           28  +	mkdir build
           29  +
           30  +	cd build/ || exit 1
           31  +
           32  +	gzip -dc "../${SRC}" | tar -xf -
           33  +	cd "${BUILDDIR}" || exit 1
           34  +
           35  +	bash ./configure --enable-shared --with-tcl="${TCLCONFIGDIR}" --prefix="${PLATDIR}" --libdir="${PLATDIR}" --bindir="${PLATDIR}" ${CONFIGUREEXTRA}
           36  +
           37  +	${MAKE:-make} || exit 1
           38  +
           39  +	${MAKE:-make} install-binaries PKG_DIR='' || exit 1
           40  +
           41  +	rm -f "${PLATDIR}"/*.a
           42  +) || exit 1
           43  +
           44  +../create_teapot "${PLATDIR}/teapot.txt" "sqlite3" "${VERS}" "${SRCURL}" "${PLATFORM}" "Tcl 8.4" "SQLite"
           45  +
           46  +exit 0