aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/sqlite/unix/sqlite-3.5.1/www/download.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/sqlite/unix/sqlite-3.5.1/www/download.tcl')
-rw-r--r--libraries/sqlite/unix/sqlite-3.5.1/www/download.tcl236
1 files changed, 236 insertions, 0 deletions
diff --git a/libraries/sqlite/unix/sqlite-3.5.1/www/download.tcl b/libraries/sqlite/unix/sqlite-3.5.1/www/download.tcl
new file mode 100644
index 0000000..b47cd5b
--- /dev/null
+++ b/libraries/sqlite/unix/sqlite-3.5.1/www/download.tcl
@@ -0,0 +1,236 @@
1#
2# Run this TCL script to generate HTML for the download.html file.
3#
4set rcsid {$Id: download.tcl,v 1.27 2007/05/08 18:30:36 drh Exp $}
5source common.tcl
6header {SQLite Download Page}
7
8puts {
9<h2>SQLite Download Page</h1>
10<table width="100%" cellpadding="5">
11}
12
13proc Product {pattern desc} {
14 regsub {V[23]} $pattern {*} p3
15 regsub V2 $pattern {(2[0-9a-z._]+)} pattern
16 regsub V3 $pattern {(3[0-9a-z._]+)} pattern
17 set p2 [string map {* .*} $pattern]
18 set flist [glob -nocomplain $p3]
19 foreach file [lsort -dict $flist] {
20 if {![regexp ^$p2\$ $file all version]} continue
21 regsub -all _ $version . version
22 set size [file size $file]
23 set units bytes
24 if {$size>1024*1024} {
25 set size [format %.2f [expr {$size/(1024.0*1024.0)}]]
26 set units MiB
27 } elseif {$size>1024} {
28 set size [format %.2f [expr {$size/(1024.0)}]]
29 set units KiB
30 }
31 puts "<tr><td width=\"10\"></td>"
32 puts "<td valign=\"top\" align=\"right\">"
33 puts "<a href=\"$file\">$file</a><br>($size $units)</td>"
34 puts "<td width=\"5\"></td>"
35 regsub -all VERSION $desc $version d2
36 puts "<td valign=\"top\">[string trim $d2]</td></tr>"
37 }
38}
39cd doc
40
41proc Heading {title} {
42 puts "<tr><td colspan=4><big><b>$title</b></big></td></tr>"
43}
44
45Heading {Precompiled Binaries for Linux}
46
47Product sqlite3-V3.bin.gz {
48 A command-line program for accessing and modifying
49 SQLite version 3.* databases.
50 See <a href="sqlite.html">the documentation</a> for additional information.
51}
52
53Product sqlite-V3.bin.gz {
54 A command-line program for accessing and modifying
55 SQLite databases.
56 See <a href="sqlite.html">the documentation</a> for additional information.
57}
58
59Product tclsqlite-V3.so.gz {
60 Bindings for <a href="http://www.tcl.tk/">Tcl/Tk</a>.
61 You can import this shared library into either
62 tclsh or wish to get SQLite database access from Tcl/Tk.
63 See <a href="tclsqlite.html">the documentation</a> for details.
64}
65
66Product sqlite-V3.so.gz {
67 A precompiled shared-library for Linux without the TCL bindings.
68}
69
70Product fts1-V3.so.gz {
71 A precompiled
72 <a href="http://www.sqlite.org/cvstrac/wiki?p=FtsOne">FTS1 Module</a>
73 for Linux.
74}
75
76Product fts2-V3.so.gz {
77 A precompiled
78 <a href="http://www.sqlite.org/cvstrac/wiki?p=FtsTwo">FTS2 Module</a>
79 for Linux.
80}
81
82Product sqlite-devel-V3.i386.rpm {
83 RPM containing documentation, header files, and static library for
84 SQLite version VERSION.
85}
86Product sqlite-V3-1.i386.rpm {
87 RPM containing shared libraries and the <b>sqlite</b> command-line
88 program for SQLite version VERSION.
89}
90
91Product sqlite*_analyzer-V3.bin.gz {
92 An analysis program for database files compatible with SQLite
93 version VERSION and later.
94}
95
96Heading {Precompiled Binaries For Windows}
97
98Product sqlite-V3.zip {
99 A command-line program for accessing and modifing SQLite databases.
100 See <a href="sqlite.html">the documentation</a> for additional information.
101}
102Product tclsqlite-V3.zip {
103 Bindings for <a href="http://www.tcl.tk/">Tcl/Tk</a>.
104 You can import this shared library into either
105 tclsh or wish to get SQLite database access from Tcl/Tk.
106 See <a href="tclsqlite.html">the documentation</a> for details.
107}
108Product sqlitedll-V3.zip {
109 This is a DLL of the SQLite library without the TCL bindings.
110 The only external dependency is MSVCRT.DLL.
111}
112
113Product fts1dll-V3.zip {
114 A precompiled
115 <a href="http://www.sqlite.org/cvstrac/wiki?p=FtsOne">FTS1 Module</a>
116 for win32.
117}
118
119Product fts2dll-V3.zip {
120 A precompiled
121 <a href="http://www.sqlite.org/cvstrac/wiki?p=FtsTwo">FTS2 Module</a>
122 for win32.
123}
124
125Product sqlite*_analyzer-V3.zip {
126 An analysis program for database files compatible with SQLite version
127 VERSION and later.
128}
129
130
131Heading {Source Code}
132
133Product {sqlite-V3.tar.gz} {
134 A tarball of the complete source tree for SQLite version VERSION
135 including all of the documentation.
136}
137
138Product {sqlite-source-V3.zip} {
139 This ZIP archive contains preprocessed C code for the SQLite library as
140 individual source files.
141 Unlike the tarballs below, all of the preprocessing and automatic
142 code generation has already been done on these C code files, so they
143 can be converted to object code directly with any ordinary C compiler.
144}
145
146Product {sqlite-amalgamation-V3.zip} {
147 This ZIP archive contains all preprocessed C code combined into a
148 single source file (the
149 <a href="http://www.sqlite.org/cvstrac/wiki?p=TheAmalgamation">
150 amalgamation</a>).
151}
152
153Product {sqlite-V3-tea.tar.gz} {
154 A tarball of proprocessed source code together with a
155 <a href="http://www.tcl.tk/doc/tea/">Tcl Extension Architecture (TEA)</a>
156 compatible configure script and makefile.
157}
158
159Product {sqlite-V3.src.rpm} {
160 An RPM containing complete source code for SQLite version VERSION
161}
162
163Heading {Cross-Platform Binaries}
164
165Product {sqlite-V3.kit} {
166 A <a href="http://www.equi4.com/starkit.html">starkit</a> containing
167 precompiled SQLite binaries and Tcl bindings for Linux-x86, Windows,
168 and Mac OS-X ppc and x86.
169}
170
171Heading {Historical Binaries And Source Code}
172
173Product sqlite-V2.bin.gz {
174 A command-line program for accessing and modifying
175 SQLite version 2.* databases on Linux-x86.
176}
177Product sqlite-V2.zip {
178 A command-line program for accessing and modifying
179 SQLite version 2.* databases on win32.
180}
181
182Product sqlite*_analyzer-V2.bin.gz {
183 An analysis program for version 2.* database files on Linux-x86
184}
185Product sqlite*_analyzer-V2.zip {
186 An analysis program for version 2.* database files on win32.
187}
188Product {sqlite-source-V2.zip} {
189 This ZIP archive contains C source code for the SQLite library
190 version VERSION.
191}
192
193
194
195
196puts {
197</table>
198
199<a name="cvs">
200<h3>Direct Access To The Sources Via Anonymous CVS</h3>
201
202<p>
203All SQLite source code is maintained in a
204<a href="http://www.cvshome.org/">CVS</a> repository that is
205available for read-only access by anyone. You can
206interactively view the
207repository contents and download individual files
208by visiting
209<a href="http://www.sqlite.org/cvstrac/dir?d=sqlite">
210http://www.sqlite.org/cvstrac/dir?d=sqlite</a>.
211To access the repository directly, use the following
212commands:
213</p>
214
215<blockquote><pre>
216cvs -d :pserver:anonymous@www.sqlite.org:/sqlite login
217cvs -d :pserver:anonymous@www.sqlite.org:/sqlite checkout sqlite
218</pre></blockquote>
219
220<p>
221When the first command prompts you for a password, enter "anonymous".
222</p>
223
224<p>
225To access the SQLite version 2.8 sources, begin by getting the 3.0
226tree as described above. Then update to the "version_2" branch
227as follows:
228</p>
229
230<blockquote><pre>
231cvs update -r version_2
232</pre></blockquote>
233
234}
235
236footer $rcsid