Last change
on this file since 4668 was
4668,
checked in by ldelgass, 6 years ago
|
Add variable to Rappture package/namespace with repository URL of source
|
File size:
514 bytes
|
Rev | Line | |
---|
[1018] | 1 | package 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 |
---|
[3733] | 7 | variable build "@SVN_VERSION@" |
---|
[4668] | 8 | variable svnurl "@SVN_URL@" |
---|
[1018] | 9 | variable installdir [file normalize $dir] |
---|
| 10 | } |
---|
| 11 | namespace eval Rappture::LibraryObj { |
---|
| 12 | #empty |
---|
| 13 | } |
---|
| 14 | set ext [info sharedlibextension] |
---|
| 15 | load [file join $dir "Rappture${version}${ext}"] |
---|
| 16 | package provide Rappture $version |
---|
| 17 | } $dir] |
---|
[3733] | 18 | |
---|
Note: See
TracBrowser
for help on using the repository browser.