pkgIndex.tcl 568 B

1234567891011121314
  1. # Index file to load the TDBC Postgres package.
  2. if {![package vsatisfies [package provide Tcl] 8.6-]} {
  3. return
  4. }
  5. if {[package vsatisfies [package provide Tcl] 9.0-]} {
  6. package ifneeded tdbc::postgres 1.1.3 \
  7. "[list source [file join $dir tdbcpostgres.tcl]]\;\
  8. [list load [file join $dir libtcl9tdbcpostgres1.1.3.so] [string totitle tdbcpostgres]]"
  9. } else {
  10. package ifneeded tdbc::postgres 1.1.3 \
  11. "[list source [file join $dir tdbcpostgres.tcl]]\;\
  12. [list load [file join $dir libtdbcpostgres1.1.3.so] [string totitle tdbcpostgres]]"
  13. }