File: pkgIndex.tcl.in

package info (click to toggle)
tdbcmysql 1.1.10-2
  • links: PTS
  • area: main
  • in suites: sid, trixie
  • size: 972 kB
  • sloc: ansic: 3,423; sh: 427; tcl: 77; makefile: 56
file content (14 lines) | stat: -rw-r--r-- 603 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Index file to load the TDBC MySQL package.

if {![package vsatisfies [package provide Tcl] 8.6-]} {
    return
}
if {[package vsatisfies [package provide Tcl] 9.0-]} {
    package ifneeded tdbc::mysql @PACKAGE_VERSION@ \
	    "[list source -encoding utf-8 [file join $dir @PACKAGE_NAME@.tcl]]\;\
	    [list load [file join $dir @PKG_LIB_FILE9@] [string totitle @PACKAGE_NAME@]]"
} else {
    package ifneeded tdbc::mysql @PACKAGE_VERSION@ \
	    "[list source -encoding utf-8 [file join $dir @PACKAGE_NAME@.tcl]]\;\
	    [list load [file join $dir @PKG_LIB_FILE8@] [string totitle @PACKAGE_NAME@]]"
}