#
# Run this TCL script to generate HTML for the download.html file.
#
set rcsid {$Id: download.tcl,v 1.6 2002/08/15 13:45:17 drh Exp $}
puts {
SQLite Download Page
SQLite Download Page
}
proc Product {file desc} {
if {![file exists $file]} return
set size [file size $file]
puts [subst {
|
$file ($size bytes) |
|
[string trim $desc] |
}]
}
proc Heading {title} {
puts "$title |
"
}
Heading {Precompiled Binaries for Linux}
Product sqlite.bin.gz {
A command-line program for accessing and modifing SQLite databases.
See the documentation for additional information.
}
Product tclsqlite.so.gz {
Bindings for TCL. You can import this shared library into either
tclsh or wish to get SQLite database access from Tcl/Tk.
See the documentation for details.
}
Product sqlite.so.gz {
A precompiled shared-library for Linux. This is the same as
tclsqlite.so.gz but without the TCL bindings.
}
foreach name [lsort -dict [glob -nocomplain sqlite-*.i386.rpm]] {
if {[regexp -- -devel- $name]} {
Product $name {
RPM containing documentation, header files, and static library.
}
} else {
Product $name {
RPM containing shared libraries and the sqlite command-line
program.
}
}
}
Heading {Precompiled Binaries For Windows}
Product sqlite.zip {
A command-line program for accessing and modifing SQLite databases.
See the documentation for additional information.
}
Product tclsqlite.zip {
Bindings for TCL. You can import this shared library into either
tclsh or wish to get SQLite database access from Tcl/Tk.
See the documentation for details.
}
Product sqlitedll.zip {
This is a DLL of the SQLite library without the TCL bindings.
The only external dependency is MSVCRT.DLL.
}
Heading {Source Code}
Product {sqlite_source.zip} {
This ZIP archive contains pure C source code for the SQLite library.
Unlike the tarballs below, all of the preprocessing has already been
done on these C source code, so you can just hand the files directly to
your favorite C compiler. This file is provided as a service to
MS-Windows users who lack the build support infrastructure of Unix.
}
foreach name [lsort -dict [glob -nocomplain sqlite-*.src.rpm]] {
Product $name "RPM containing complete source code"
}
foreach name [lsort -dict -decreasing [glob -nocomplain sqlite-*.tar.gz]] {
regexp {sqlite-(.*)\.tar\.gz} $name match vers
Product $name "
Version $vers of the source tree including all documentation.
"
}
puts {
Back to the SQLite home page
}