[Meta]
RootName: @tcl.sourceforge.net/tk
DisplayName: Tk GUI Toolkit
ShortName: tk
Skeleton-Author: Taj Morton <taj@wildgardenseed.com>
Skeleton-Version: 1

[Notes]
INTERFACE_VERSIONS are set to match the currently installed major version of tk.
For instance, tk 8.4.6 causes INTERFACE_VERSIONS to contain "8.4 8.3 8.2 8.1 8.0".
SOFTWARE_VERSIONS is set to the result of `echo 'puts $tk_patchLevel;exit' | wish`

[Test]
if locateCommand wish; then
	SOFTWARE_VERSIONS=$( echo 'puts $tk_patchLevel;exit' | wish )
	if [[ "$?" != "0" ]]; then
		INTERFACE_VERSIONS=""
	else
		INTERFACE_VERSIONS=$(countDownVersions `echo 'puts $tk_patchLevel;exit' | wish`)
	fi
else
	SOFTWARE_VERSIONS=""
	INTERFACE_VERSIONS=""
fi
