The tce-make script makes tinycore extensions from tcm files.
$ tce-make -h
Usage: tce-make [-h] [-b|-v] FILES...
Read one or more tcm files and generate (and, by default, runs) a
build script to generate .tar.gz.bfe files containing all the files needed
to submit the tinycore extension indicated in the tcm file.
The tcm file must contain fields as a .tcz.info file, with the following
particularities:
- Size is ignored, it is calculated from the tcz file
- A comment "Compiled from Core X.x", where X is the version of the
current system, is added to Comments
- The current date is added before the Current comment
Additionally, some extra fields are supported in tcm files:
- Dependencies: dependencies to load the extension
- Git: download and decompress master.zip
- Build-deps: dependencies to build the extensions
-Make: commands to run before building extensions
Lines starting with # are ignored.
The commands in Make must fill the directory EXTENSION to build
EXTENSION.tcz and the corresponding EXTENSION.tar.gz.bfe file.
One extension is generated for each title in the tcm file. When a new
title is defined, the contents of all the info fields is inherited from
the previous one, but they can be redefined.
With -b, a .build script is generated, but not run. With -v, the
output of running the script is displayed on screen.
Output files are created in $TCMDIR (default: /tmp/tcm).
Sample .tcm files are included in this repository.