Manual Pages for UNIX Darwin command on man pkg::create
MyWebUniversity

Manual Pages for UNIX Darwin command on man pkg::create

pkg::create(n) Tcl Built-In Commands pkg::create(n)

NAME

pkg::create - Construct an appropriate ppaacckkaaggee iiffnneeeeddeedd command for a

given package specification

SYNOPSIS

::::ppkkgg::::ccrreeaattee -name packageName -version packageVersion ?-load file-

spec? ... ?-source filespec? ...

DESCRIPTION

::::ppkkgg::::ccrreeaattee is a utility procedure that is part of the standard Tcl library. It is used to create an appropriate ppaacckkaaggee iiffnneeeeddeedd command for a given package specification. It can be used to construct a ppkkggIInnddeexx..ttccll file for use with the ppaacckkaaggee mechanism. OOPPTTIIOONNSS The parameters supported are:

-nnaammee packageName

This parameter specifies the name of the package. It is required.

-vveerrssiioonn packageVersion

This parameter specifies the version of the package. It is required.

-llooaadd filespec

This parameter specifies a binary library that must be loaded with the llooaadd command. filespec is a list with two elements. The first element is the name of the file to load. The second, optional element is a list of commands supplied by loading that file. If the list of procedures is empty or omitted, ::::ppkkgg::::ccrreeaattee will set up the library for direct loading (see

ppkkggmmkkIInnddeexx). Any number of -llooaadd parameters may be specified.

-ssoouurrccee filespec

This parameter is similar to the -llooaadd parameter, except that it

specifies a Tcl library that must be loaded with the ssoouurrccee com-

mand. Any number of -ssoouurrccee parameters may be specified.

At least one -llooaadd or -ssoouurrccee parameter must be given.

SEE ALSO

package(n) KKEEYYWWOORRDDSS

auto-load, index, package, version

Tcl 8.3 pkg::create(n)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™