Skip to content

Commit 98e4904

Browse files
committed
build(tcllib): upgrade to version 2.0
`tcllib-2.0.tar.zst` is the `.tar.gz` archive from https://github.com/tcltk/tcllib/releases/tag/tcllib-2-0 repackaged with a different top-level directory name and compressed with Zstandard.
1 parent 3a102a7 commit 98e4904

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Tcllib-1.16.tar.gz

-7.26 MB
Binary file not shown.

packer.tcl

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ proc ::packer::init {} {
3333
sdx sdx-20110317.kit
3434

3535
# The Tcllib archive file.
36-
tcllib Tcllib-1.16.tar.gz
36+
tcllib tcllib-2.0.tar.zst
3737

3838
# The Git repository to clone. Can be local or remote.
3939
sourceRepository https://github.com/tclssg/tclssg
@@ -149,8 +149,8 @@ proc ::packer::build args {
149149

150150
# Unpack Tcllib and install it in the subdirectory lib/tcllib of the
151151
# Starkit VFS.
152-
run tar zxf [opt tcllib]
153-
with-path [regsub {.tar.gz$} [opt tcllib] {}] {
152+
run zstd -d < [opt tcllib] | tar xf -
153+
with-path [regsub .tar.zst$ [opt tcllib] {}] {
154154
run {*}[sl {
155155
>@ stdout
156156
[file join .. [opt buildTclkit]]

tcllib-2.0.tar.zst

13.4 MB
Binary file not shown.

0 commit comments

Comments
 (0)