{"id":6064,"date":"2022-12-20T18:57:53","date_gmt":"2022-12-20T21:57:53","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/pkgcreate-mann\/"},"modified":"2022-12-20T18:57:53","modified_gmt":"2022-12-20T21:57:53","slug":"pkgcreate-mann","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/pkgcreate-mann\/","title":{"rendered":"pkg::create (mann)"},"content":{"rendered":"<h1 align=\"center\">pkg::create<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#OPTIONS\">OPTIONS<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#KEYWORDS\">KEYWORDS<\/a> <\/p>\n<hr>\n<p>______________________________________________________________________________<\/p>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">pkg::create \u2212 Construct an appropriate \u2019package ifneeded\u2019 command for a given package specification<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>::pkg::create \u2212name<\/b> <i>packageName<\/i> <b>\u2212version<\/b> <i>packageVersion<\/i> ?<b>\u2212load<\/b> <i>filespec<\/i>? &#8230; ?<b>\u2212source<\/b> <i>filespec<\/i>? &#8230; ______________________________________________________________________________<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>::pkg::create<\/b> is a utility procedure that is part of the standard Tcl library. It is used to create an appropriate <b>package ifneeded<\/b> command for a given package specification. It can be used to construct a <b>pkgIndex.tcl<\/b> file for use with the <b>package<\/b> mechanism.<\/p>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The parameters supported are: <b><br \/> \u2212name<\/b> <i>packageName<\/i><\/p>\n<p style=\"margin-left:22%;\">This parameter specifies the name of the package. It is required.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212version<\/b> <i>packageVersion<\/i><\/p>\n<p style=\"margin-left:22%;\">This parameter specifies the version of the package. It is required.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212load<\/b> <i>filespec<\/i><\/p>\n<p style=\"margin-left:22%;\">This parameter specifies a binary library that must be loaded with the <b>load<\/b> command. <i>filespec<\/i> 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, <b>::pkg::create<\/b> will set up the library for direct loading (see <b>pkg_mkIndex<\/b>). Any number of <b>\u2212load<\/b> parameters may be specified.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212source<\/b> <i>filespec<\/i><\/p>\n<p style=\"margin-left:22%;\">This parameter is similar to the <b>\u2212load<\/b> parameter, except that it specifies a Tcl library that must be loaded with the <b>source<\/b> command. Any number of <b>\u2212source<\/b> parameters may be specified.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">At least one <b>\u2212load<\/b> or <b>\u2212source<\/b> parameter must be given.<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">package(n)<\/p>\n<h2>KEYWORDS <a name=\"KEYWORDS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">auto-load, index, package, version<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  pkg::create \u2212 Construct an appropriate \u2019package ifneeded\u2019 command for a given package specification <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3783,1],"tags":[2635,2736],"class_list":["post-6064","post","type-post","status-publish","format-standard","hentry","category-n-comandos-tcl-tk","category-sin-categoria","tag-mann","tag-packagens"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/6064","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=6064"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/6064\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=6064"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=6064"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=6064"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}