source: trunk/lang/tcl/pkgIndex.tcl.in @ 1025

Last change on this file since 1025 was 1018, checked in by gah, 16 years ago

Massive changes: New directory/file layout

File size: 452 bytes
Line 
1package ifneeded Rappture @PACKAGE_VERSION@ [format {
2    set dir "%s"
3    set version @PACKAGE_VERSION@
4    lappend auto_path [file join $dir scripts]
5    namespace eval Rappture {
6        variable version $version
7        variable installdir [file normalize $dir]
8    }
9    namespace eval Rappture::LibraryObj {
10        #empty
11    }
12    set ext [info sharedlibextension]
13    load [file join $dir "Rappture${version}${ext}"]
14    package provide Rappture $version
15} $dir]
Note: See TracBrowser for help on using the repository browser.