Build Lunapaint from Contrib.
[AROS-Contrib.git] / sqlite3 / www / download.tcl
blob0601c46a90fa5c1702d64dfe0105da8f346ddbbe
2 # Run this TCL script to generate HTML for the download.html file.
4 set rcsid {$Id: download.tcl,v 1.18 2005/02/15 13:07:39 drh Exp $}
5 source common.tcl
6 header {SQLite Download Page}
8 puts {
9 <h2>SQLite Download Page</h1>
10 <table width="100%" cellpadding="5">
13 proc Product {pattern desc} {
14 regsub VERSION $pattern {([0-9][0-9a-z._]+)} p2
15 set p2 [string map {* .*} $p2]
16 regsub VERSION $pattern {*} p3
17 set flist [glob -nocomplain $p3]
18 foreach file [lsort -dict $flist] {
19 if {![regexp ^$p2\$ $file all version]} continue
20 regsub -all _ $version . version
21 set size [file size $file]
22 puts "<tr><td width=\"10\"></td>"
23 puts "<td valign=\"top\" align=\"right\">"
24 puts "<a href=\"$file\">$file</a><br>($size bytes)</td>"
25 puts "<td width=\"5\"></td>"
26 regsub -all VERSION $desc $version d2
27 puts "<td valign=\"top\">[string trim $d2]</td></tr>"
30 cd doc
32 proc Heading {title} {
33 puts "<tr><td colspan=4><big><b>$title</b></big></td></tr>"
36 Heading {Precompiled Binaries for Linux}
38 Product sqlite3-VERSION.bin.gz {
39 A statically linked command-line program for accessing and modifing
40 SQLite databases.
41 See <a href="sqlite.html">the documentation</a> for additional information.
44 Product sqlite-VERSION.bin.gz {
45 A statically linked command-line program for accessing and modifing
46 2 SQLite databases.
47 See <a href="sqlite.html">the documentation</a> for additional information.
50 Product tclsqlite-VERSION.so.gz {
51 Bindings for TCL. You can import this shared library into either
52 tclsh or wish to get SQLite database access from Tcl/Tk.
53 See <a href="tclsqlite.html">the documentation</a> for details.
56 Product sqlite-VERSION.so.gz {
57 A precompiled shared-library for Linux. This is the same as
58 <b>tclsqlite.so.gz</b> but without the TCL bindings.
61 Product sqlite-devel-VERSION-1.i386.rpm {
62 RPM containing documentation, header files, and static library for
63 SQLite version VERSION.
65 Product sqlite-VERSION-1.i386.rpm {
66 RPM containing shared libraries and the <b>sqlite</b> command-line
67 program for SQLite version VERSION.
70 Product sqlite*_analyzer-VERSION.bin.gz {
71 An analysis program for database files compatible with SQLite
72 version VERSION.
75 Heading {Precompiled Binaries For Windows}
77 Product sqlite-VERSION.zip {
78 A command-line program for accessing and modifing SQLite databases.
79 See <a href="sqlite.html">the documentation</a> for additional information.
81 Product tclsqlite-VERSION.zip {
82 Bindings for TCL. You can import this shared library into either
83 tclsh or wish to get SQLite database access from Tcl/Tk.
84 See <a href="tclsqlite.html">the documentation</a> for details.
86 Product sqlitedll-VERSION.zip {
87 This is a DLL of the SQLite library without the TCL bindings.
88 The only external dependency is MSVCRT.DLL.
91 Product sqlite*_analyzer-VERSION.zip {
92 An analysis program for database files compatible with SQLite version
93 VERSION.
97 Heading {Source Code}
99 Product {sqlite-source-VERSION.zip} {
100 This ZIP archive contains pure C source code for the SQLite library.
101 Unlike the tarballs below, all of the preprocessing and automatic
102 code generation has already been done on these C source code, so they
103 can be processed directly with any ordinary C compiler.
104 This file is provided as a service to
105 MS-Windows users who lack the build support infrastructure of Unix.
108 Product {sqlite-VERSION.src.rpm} {
109 An RPM containing complete source code for SQLite version VERSION
112 Product {sqlite-VERSION.tar.gz} {
113 A tarball of the complete source tree for SQLite version VERSION
114 including all of the documentation.
117 puts {
118 </table>
120 <a name="cvs">
121 <h3>Direct Access To The Sources Via Anonymous CVS</h3>
124 All SQLite source code is maintained in a
125 <a href="http://www.cvshome.org/">CVS</a> repository that is
126 available for read-only access by anyone. You can
127 interactively view the
128 repository contents and download individual files
129 by visiting
130 <a href="http://www.sqlite.org/cvstrac/dir?d=sqlite">
131 http://www.sqlite.org/cvstrac/dir?d=sqlite</a>.
132 To access the repository directly, use the following
133 commands:
134 </p>
136 <blockquote><pre>
137 cvs -d :pserver:anonymous@www.sqlite.org:/sqlite login
138 cvs -d :pserver:anonymous@www.sqlite.org:/sqlite checkout sqlite
139 </pre></blockquote>
142 When the first command prompts you for a password, enter "anonymous".
143 </p>
146 To access the SQLite version 2.8 sources, begin by getting the 3.0
147 tree as described above. Then update to the "version_2" branch
148 as follows:
149 </p>
151 <blockquote><pre>
152 cvs update -r version_2
153 </pre></blockquote>
157 footer $rcsid