Mercurial
comparison third_party/sqlite3/tea/pkgIndex.tcl.in @ 167:589bab390fb4
[ThirdParty] Added sqlite3 to the third_party.
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Mon, 19 Jan 2026 16:28:45 -0800 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 166:78ea8d5ccc87 | 167:589bab390fb4 |
|---|---|
| 1 # -*- tcl -*- | |
| 2 # Tcl package index file | |
| 3 # | |
| 4 # Unless this file is named pkgIndex.tcl.in, you are probably looking | |
| 5 # at an automatically generated/filtered copy and should probably not | |
| 6 # edit it. | |
| 7 # | |
| 8 # Adapted from https://core.tcl-lang.org/tcltls | |
| 9 @if TEAISH_VSATISFIES_CODE | |
| 10 @TEAISH_VSATISFIES_CODE@ | |
| 11 @endif | |
| 12 if {[package vsatisfies [package provide Tcl] 9.0-]} { | |
| 13 package ifneeded {@TEAISH_PKGNAME@} {@TEAISH_VERSION@} [list apply {{dir} { | |
| 14 @if TEAISH_ENABLE_DLL | |
| 15 load [file join $dir {@TEAISH_DLL9@}] @TEAISH_LOAD_PREFIX@ | |
| 16 @endif | |
| 17 @if TEAISH_PKGINIT_TCL_TAIL | |
| 18 set initScript [file join $dir {@TEAISH_PKGINIT_TCL_TAIL@}] | |
| 19 if {[file exists $initScript]} { | |
| 20 source -encoding utf-8 $initScript | |
| 21 } | |
| 22 @endif | |
| 23 }} $dir] | |
| 24 } else { | |
| 25 package ifneeded {@TEAISH_PKGNAME@} {@TEAISH_VERSION@} [list apply {{dir} { | |
| 26 @if TEAISH_ENABLE_DLL | |
| 27 if {[string tolower [file extension {@TEAISH_DLL8@}]] in [list .dll .dylib .so]} { | |
| 28 load [file join $dir {@TEAISH_DLL8@}] @TEAISH_LOAD_PREFIX@ | |
| 29 } else { | |
| 30 load {} @TEAISH_LOAD_PREFIX@ | |
| 31 } | |
| 32 @endif | |
| 33 @if TEAISH_PKGINIT_TCL_TAIL | |
| 34 set initScript [file join $dir {@TEAISH_PKGINIT_TCL_TAIL@}] | |
| 35 if {[file exists $initScript]} { | |
| 36 source -encoding utf-8 $initScript | |
| 37 } | |
| 38 @endif | |
| 39 }} $dir] | |
| 40 } |