File: pkgIndex.tcl

package info (click to toggle)
cost 2.2p1-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,032 kB
  • ctags: 1,728
  • sloc: ansic: 12,123; tcl: 2,702; sh: 209; makefile: 161
file content (22 lines) | stat: -rw-r--r-- 571 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#
# pkgIndex.tcl for Cost 
#
# This file is NOT automatically generated:
# we need to do a few extra things here that pkg_mkIndex
# doesn't know about.
#

global COSTLIB env

if {![info exists COSTLIB]} {
    if {[info exists env(COSTLIB)]} {
	set COSTLIB $env(COSTLIB)
    } else { 
	set COSTLIB $dir 
    }
}
set so [info sharedlibextension]
package ifneeded Cost 2.2 	[list load [file join $dir libcost2.2$so]]
package ifneeded Cost-Simple 1.0   [list source [file join $dir Simple.tcl]]
package ifneeded Cost-Numerals 1.0 [list source [file join $dir Numerals.tcl]]