Download Latest Version kbs.tcl (103.3 kB)
Email in envelope

Get an email when there's a new version of kitgen build system

Home / zipkit / 20200909
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2020-09-10 2.2 kB
zipkit.sh 2020-09-10 18.0 kB
Totals: 2 Items   20.3 kB 0

zipkit.sh -- compile tcl/tk packages and build tclsh/wish/zip based binaries

Usage

./zipkit.sh info

Return list of provided packages.

./zipkit.sh sources ?package ..?

Get source distribution files and extract under ./sources/ if necessary. If no package is given then get all defined package sources.

./zipkit.sh win|unix|macos ?--.. ..? ?tclsh|wish|zip name? ?package ..?

Compile needed and given packages for win or unix (macos not tested!). --... arguments will be used as additional arguments in configure calls. If tclsh|wish|zip name is given then create a binary with all following packages included. The binary sources are collected under ./build/'name'.vfs/. If a ./sources/'name'.vfs/ exists it will be used to initially setup the ./build/'name'.vfs/ directory.

./zipkit.sh local ...

The command will call the internal _zipkit_local() function. These function should be defined in the local ziplocal.sh file.

Local definitions

Local definitions can be placed in ./ziplocal.sh. If this file exists it will be sourced from the main program.

Internals

Each package definition is in an functions starting with pkg_. The line of the function definition excluding () { will be displayed by the info command.

Directory structure

./zipkit.sh -- provided script file

./ziplocal.sh -- local definition file, will be sourced if provided

./zipkit.log -- log output of last running zipkit.sh process

./... -- package source distribution files (.tar.gz, .zip)

./sources/ -- extracted package sources

./build/ -- build result directory

./build/bin/ -- binary results

./build/include/ -- header files

./build/lib/ -- libraries

./build/lib64/ -- libraries

./build/man/ -- man pages

./build/share/ -- man pages

./build/'name'.vfs/ -- created vfs directory of binary targets

./build/'name'.vfs/tcl_library/ -- tcl core (tclsh,wish)

./build/'name'.vfs/tk_library/ -- tk core (wish)

./build/'name'.vfs/.../ -- packages in binary targets (tclsh,wish,zip)

./build/.../ -- package build results

Source: README.md, updated 2020-09-10